projects
/
oweals
/
busybox.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
Added sfdisk. Ststic-ified a bunch of stuff.
[oweals/busybox.git]
/
applets
/
busybox.c
diff --git
a/applets/busybox.c
b/applets/busybox.c
index 3af98407d2f8188e51445d78bad4e024901f7e98..6bcb652970e2260fcc731156aeaca0e5e4437813 100644
(file)
--- a/
applets/busybox.c
+++ b/
applets/busybox.c
@@
-14,7
+14,7
@@
static const struct Applet applets[] = {
{"block_device", block_device_main},
#endif
#ifdef BB_CAT //bin
{"block_device", block_device_main},
#endif
#ifdef BB_CAT //bin
- {"cat", cat_m
ore_m
ain},
+ {"cat", cat_main},
#endif
#ifdef BB_CHMOD_CHOWN_CHGRP //bin
{"chmod", chmod_chown_chgrp_main},
#endif
#ifdef BB_CHMOD_CHOWN_CHGRP //bin
{"chmod", chmod_chown_chgrp_main},
@@
-43,7
+43,7
@@
static const struct Applet applets[] = {
{"dmesg", dmesg_main},
#endif
#ifdef BB_DUTMP //usr/sbin
{"dmesg", dmesg_main},
#endif
#ifdef BB_DUTMP //usr/sbin
- {"dutmp",
cat_more
_main},
+ {"dutmp",
dutmp
_main},
#endif
#ifdef BB_FDFLUSH //bin
{"fdflush", fdflush_main},
#endif
#ifdef BB_FDFLUSH //bin
{"fdflush", fdflush_main},
@@
-123,6
+123,10
@@
static const struct Applet applets[] = {
#ifdef BB_RMDIR //bin
{"rmdir", rmdir_main},
#endif
#ifdef BB_RMDIR //bin
{"rmdir", rmdir_main},
#endif
+#ifdef BB_SFDISK //sbin
+ {"fdisk", sfdisk_main},
+ {"sfdisk", sfdisk_main},
+#endif
#ifdef BB_SLEEP //bin
{"sleep", sleep_main},
#endif
#ifdef BB_SLEEP //bin
{"sleep", sleep_main},
#endif