diff options
Diffstat (limited to 'util-linux/eject.c')
-rw-r--r-- | util-linux/eject.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/util-linux/eject.c b/util-linux/eject.c index 749e2c986..3ccb4ae89 100644 --- a/util-linux/eject.c +++ b/util-linux/eject.c | |||
@@ -70,7 +70,7 @@ static void eject_scsi(const char *dev) | |||
70 | sg_io_hdr_t io_hdr; | 70 | sg_io_hdr_t io_hdr; |
71 | 71 | ||
72 | if ((ioctl(dev_fd, SG_GET_VERSION_NUM, &i) < 0) || (i < 30000)) | 72 | if ((ioctl(dev_fd, SG_GET_VERSION_NUM, &i) < 0) || (i < 30000)) |
73 | bb_error_msg_and_die("not a sg device or old sg driver"); | 73 | bb_simple_error_msg_and_die("not a sg device or old sg driver"); |
74 | 74 | ||
75 | memset(&io_hdr, 0, sizeof(sg_io_hdr_t)); | 75 | memset(&io_hdr, 0, sizeof(sg_io_hdr_t)); |
76 | io_hdr.interface_id = 'S'; | 76 | io_hdr.interface_id = 'S'; |