diff options
author | Denis Vlasenko <vda.linux@googlemail.com> | 2008-05-12 14:35:56 +0000 |
---|---|---|
committer | Denis Vlasenko <vda.linux@googlemail.com> | 2008-05-12 14:35:56 +0000 |
commit | c4f12f59cc907577d787f816b37122809f896bb2 (patch) | |
tree | 78b50dbcee80b14f79ce5d2ef12906ed4a40358a /miscutils | |
parent | 023dc6798e05373bf33d64221bbe6a7265734c34 (diff) | |
download | busybox-c4f12f59cc907577d787f816b37122809f896bb2.tar.gz |
-Wall fixes by Cristian Ionescu-Idbohrn. No object code changes.
Diffstat (limited to 'miscutils')
-rw-r--r-- | miscutils/eject.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/miscutils/eject.c b/miscutils/eject.c index 42e071941..91cf98f5f 100644 --- a/miscutils/eject.c +++ b/miscutils/eject.c @@ -57,7 +57,7 @@ static void eject_scsi(const char *dev) io_hdr.timeout = 2000; for (i = 0; i < 3; i++) { - io_hdr.cmdp = (char*)sg_commands[i]; + io_hdr.cmdp = (void *)sg_commands[i]; ioctl_or_perror_and_die(dev_fd, SG_IO, (void *)&io_hdr, "%s", dev); } |