From 86b4d64aa3f5ca4c2824a8948541b0e18dfe0a74 Mon Sep 17 00:00:00 2001 From: Rob Landley Date: Thu, 3 Aug 2006 17:58:17 +0000 Subject: These should have been part of 15767 too. --- miscutils/eject.c | 5 +---- 1 file changed, 1 insertion(+), 4 deletions(-) (limited to 'miscutils') diff --git a/miscutils/eject.c b/miscutils/eject.c index 8ac66779a..282090d38 100644 --- a/miscutils/eject.c +++ b/miscutils/eject.c @@ -14,9 +14,6 @@ */ #include "busybox.h" -#include -#include -#include #include /* various defines swiped from linux/cdrom.h */ @@ -40,7 +37,7 @@ int eject_main(int argc, char **argv) erase_mtab(m->mnt_fsname); } } - if (ioctl(bb_xopen(device, (O_RDONLY | O_NONBLOCK)), + if (ioctl(xopen(device, (O_RDONLY | O_NONBLOCK)), (flags ? CDROMCLOSETRAY : CDROMEJECT))) { bb_perror_msg_and_die("%s", device); } -- cgit v1.2.3