diff options
author | Denis Vlasenko <vda.linux@googlemail.com> | 2007-05-20 17:01:14 +0000 |
---|---|---|
committer | Denis Vlasenko <vda.linux@googlemail.com> | 2007-05-20 17:01:14 +0000 |
commit | b32502da83ff7e7241a4584c88f3a35859dfeeda (patch) | |
tree | 7dcdaf2b3940b86ca74f185cdb5dedfdc385c8d2 /miscutils/hdparm.c | |
parent | 568d8c9a5cb05a595b4201198fd3c780920586dc (diff) | |
download | busybox-w32-1_5_1.tar.gz busybox-w32-1_5_1.tar.bz2 busybox-w32-1_5_1.zip |
applied post-1.5.0 fixes1_5_1
Diffstat (limited to '')
-rw-r--r-- | miscutils/hdparm.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/miscutils/hdparm.c b/miscutils/hdparm.c index 0138eed92..b5297775a 100644 --- a/miscutils/hdparm.c +++ b/miscutils/hdparm.c | |||
@@ -1569,9 +1569,9 @@ static void process_dev(char *devname) | |||
1569 | if (set_mult) { | 1569 | if (set_mult) { |
1570 | print_flag(get_mult, "multcount", mult); | 1570 | print_flag(get_mult, "multcount", mult); |
1571 | #ifdef HDIO_DRIVE_CMD | 1571 | #ifdef HDIO_DRIVE_CMD |
1572 | bb_ioctl(fd, HDIO_SET_MULTCOUNT, &mult, "HDIO_SET_MULTCOUNT"); | 1572 | bb_ioctl(fd, HDIO_SET_MULTCOUNT, (void *)mult, "HDIO_SET_MULTCOUNT"); |
1573 | #else | 1573 | #else |
1574 | force_operation |= (!bb_ioctl(fd, HDIO_SET_MULTCOUNT, &mult, "HDIO_SET_MULTCOUNT")); | 1574 | force_operation |= (!bb_ioctl(fd, HDIO_SET_MULTCOUNT, (void *)mult, "HDIO_SET_MULTCOUNT")); |
1575 | #endif | 1575 | #endif |
1576 | } | 1576 | } |
1577 | if (set_readonly) { | 1577 | if (set_readonly) { |