diff options
Diffstat (limited to 'miscutils')
-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) { |