diff options
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 2643f36d5..189f54510 100644 --- a/miscutils/eject.c +++ b/miscutils/eject.c | |||
@@ -43,7 +43,7 @@ extern int eject_main(int argc, char **argv) | |||
43 | } | 43 | } |
44 | if (ioctl(bb_xopen(device, (O_RDONLY | O_NONBLOCK)), | 44 | if (ioctl(bb_xopen(device, (O_RDONLY | O_NONBLOCK)), |
45 | (flags ? CDROMCLOSETRAY : CDROMEJECT))) { | 45 | (flags ? CDROMCLOSETRAY : CDROMEJECT))) { |
46 | bb_perror_msg_and_die(device); | 46 | bb_perror_msg_and_die("%s", device); |
47 | } | 47 | } |
48 | return (EXIT_SUCCESS); | 48 | return (EXIT_SUCCESS); |
49 | } | 49 | } |