diff options
author | Peter Korsgaard <jacmet@sunsite.dk> | 2007-04-05 07:04:31 +0000 |
---|---|---|
committer | Peter Korsgaard <jacmet@sunsite.dk> | 2007-04-05 07:04:31 +0000 |
commit | 27950be974ee73eebf79863e1d8bccd35cdaec45 (patch) | |
tree | 0fe78d95d44a874d646249dcd9fd5e6f87c8da9c /package/busybox/busybox-1.5.0-hdparm.patch | |
parent | 8ca4af140c6af66b4701f021ccd3699f3eb17bef (diff) |
busybox 1.5.0 patches
Diffstat (limited to 'package/busybox/busybox-1.5.0-hdparm.patch')
-rw-r--r-- | package/busybox/busybox-1.5.0-hdparm.patch | 14 |
1 files changed, 14 insertions, 0 deletions
diff --git a/package/busybox/busybox-1.5.0-hdparm.patch b/package/busybox/busybox-1.5.0-hdparm.patch new file mode 100644 index 000000000..d43aa31a7 --- /dev/null +++ b/package/busybox/busybox-1.5.0-hdparm.patch @@ -0,0 +1,14 @@ +--- busybox-1.5.0/miscutils/hdparm.c Thu Mar 22 22:21:34 2007 ++++ busybox-1.5.0-hdparm/miscutils/hdparm.c Sat Mar 31 12:23:07 2007 +@@ -1569,9 +1569,9 @@ + if (set_mult) { + print_flag(get_mult, "multcount", mult); + #ifdef HDIO_DRIVE_CMD +- bb_ioctl(fd, HDIO_SET_MULTCOUNT, &mult, "HDIO_SET_MULTCOUNT"); ++ bb_ioctl(fd, HDIO_SET_MULTCOUNT, (void *)mult, "HDIO_SET_MULTCOUNT"); + #else +- force_operation |= (!bb_ioctl(fd, HDIO_SET_MULTCOUNT, &mult, "HDIO_SET_MULTCOUNT")); ++ force_operation |= (!bb_ioctl(fd, HDIO_SET_MULTCOUNT, (void *)mult, "HDIO_SET_MULTCOUNT")); + #endif + } + if (set_readonly) { |