diff options
author | Denis Vlasenko | 2008-05-12 14:35:56 +0000 |
---|---|---|
committer | Denis Vlasenko | 2008-05-12 14:35:56 +0000 |
commit | c4f12f59cc907577d787f816b37122809f896bb2 (patch) | |
tree | 78b50dbcee80b14f79ce5d2ef12906ed4a40358a /miscutils/eject.c | |
parent | 023dc6798e05373bf33d64221bbe6a7265734c34 (diff) | |
download | busybox-c4f12f59cc907577d787f816b37122809f896bb2.zip busybox-c4f12f59cc907577d787f816b37122809f896bb2.tar.gz |
-Wall fixes by Cristian Ionescu-Idbohrn. No object code changes.
Diffstat (limited to 'miscutils/eject.c')
-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 42e0719..91cf98f 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); } |