diff options
author | timr <timr@69ca8d6d-28ef-0310-b511-8ec308f3f277> | 2006-01-25 00:08:53 +0000 |
---|---|---|
committer | timr <timr@69ca8d6d-28ef-0310-b511-8ec308f3f277> | 2006-01-25 00:08:53 +0000 |
commit | fd8222f9b9db2a783b17ec9c59cf3fc22a4e4586 (patch) | |
tree | 5f329b7d0c7f20ecced0dc7581a9ba6dc720d965 /miscutils/eject.c | |
parent | 45d75f9ecc8f2b582407059da7d414f990ced68a (diff) | |
download | busybox-w32-fd8222f9b9db2a783b17ec9c59cf3fc22a4e4586.tar.gz busybox-w32-fd8222f9b9db2a783b17ec9c59cf3fc22a4e4586.tar.bz2 busybox-w32-fd8222f9b9db2a783b17ec9c59cf3fc22a4e4586.zip |
just whitespace
git-svn-id: svn://busybox.net/trunk/busybox@13584 69ca8d6d-28ef-0310-b511-8ec308f3f277
Diffstat (limited to 'miscutils/eject.c')
-rw-r--r-- | miscutils/eject.c | 10 |
1 files changed, 5 insertions, 5 deletions
diff --git a/miscutils/eject.c b/miscutils/eject.c index 3f1d6ab44..511d8b204 100644 --- a/miscutils/eject.c +++ b/miscutils/eject.c | |||
@@ -28,7 +28,7 @@ | |||
28 | #include <sys/ioctl.h> | 28 | #include <sys/ioctl.h> |
29 | #include <unistd.h> | 29 | #include <unistd.h> |
30 | #include <sys/mount.h> | 30 | #include <sys/mount.h> |
31 | #include <mntent.h> | 31 | #include <mntent.h> |
32 | #include "busybox.h" | 32 | #include "busybox.h" |
33 | 33 | ||
34 | /* various defines swiped from linux/cdrom.h */ | 34 | /* various defines swiped from linux/cdrom.h */ |
@@ -41,16 +41,16 @@ extern int eject_main(int argc, char **argv) | |||
41 | unsigned long flags; | 41 | unsigned long flags; |
42 | char *device; | 42 | char *device; |
43 | struct mntent *m; | 43 | struct mntent *m; |
44 | 44 | ||
45 | flags = bb_getopt_ulflags(argc, argv, "t"); | 45 | flags = bb_getopt_ulflags(argc, argv, "t"); |
46 | device=argv[optind] ? : DEFAULT_CDROM; | 46 | device=argv[optind] ? : DEFAULT_CDROM; |
47 | 47 | ||
48 | if((m = find_mount_point(device, bb_path_mtab_file))) { | 48 | if((m = find_mount_point(device, bb_path_mtab_file))) { |
49 | if(umount(m->mnt_dir)) | 49 | if(umount(m->mnt_dir)) |
50 | bb_error_msg_and_die("Can't umount"); | 50 | bb_error_msg_and_die("Can't umount"); |
51 | else if(ENABLE_FEATURE_MTAB_SUPPORT) erase_mtab(m->mnt_fsname); | 51 | else if(ENABLE_FEATURE_MTAB_SUPPORT) erase_mtab(m->mnt_fsname); |
52 | } | 52 | } |
53 | if (ioctl(bb_xopen( device, (O_RDONLY | O_NONBLOCK)), | 53 | if (ioctl(bb_xopen( device, (O_RDONLY | O_NONBLOCK)), |
54 | ( flags ? CDROMCLOSETRAY : CDROMEJECT))) | 54 | ( flags ? CDROMCLOSETRAY : CDROMEJECT))) |
55 | { | 55 | { |
56 | bb_perror_msg_and_die(device); | 56 | bb_perror_msg_and_die(device); |