summaryrefslogtreecommitdiff
path: root/busybox.c
diff options
context:
space:
mode:
authorEric Andersen1999-10-18 21:22:59 +0000
committerEric Andersen1999-10-18 21:22:59 +0000
commit8759006b55c617811a207cc4e99792996c8b97fb (patch)
treeae74dfbfd1ea2d85e54673de631471ab40fc277a /busybox.c
parent7f04b5e3208882eaeabb8c11d64c9b6e90d3e253 (diff)
downloadbusybox-8759006b55c617811a207cc4e99792996c8b97fb.zip
busybox-8759006b55c617811a207cc4e99792996c8b97fb.tar.gz
More fixes
Diffstat (limited to 'busybox.c')
-rw-r--r--busybox.c10
1 files changed, 4 insertions, 6 deletions
diff --git a/busybox.c b/busybox.c
index 45365b3..6bc223a 100644
--- a/busybox.c
+++ b/busybox.c
@@ -132,11 +132,9 @@ static const struct Applet applets[] = {
#ifdef BB_TAR //bin
{"tar", tar_main},
#endif
-#ifdef BB_SWAPOFF //sbin
- {"swapoff", monadic_main},
-#endif
-#ifdef BB_SWAPON //sbin
- {"swapon", monadic_main},
+#ifdef BB_SWAPONOFF //sbin
+ {"swapon", swap_on_off_main},
+ {"swapoff", swap_on_off_main},
#endif
#ifdef BB_SYNC //bin
{"sync", sync_main},
@@ -148,7 +146,7 @@ static const struct Applet applets[] = {
{"true", true_main},
#endif
#ifdef BB_UMOUNT //bin
- {"umount", umount_main},
+ {"umount", umount_main},
#endif
#ifdef BB_UPDATE //sbin
{"update", update_main},