aboutsummaryrefslogtreecommitdiff
path: root/applets
diff options
context:
space:
mode:
authorEric Andersen <andersen@codepoet.org>1999-10-18 21:22:59 +0000
committerEric Andersen <andersen@codepoet.org>1999-10-18 21:22:59 +0000
commit8759006b55c617811a207cc4e99792996c8b97fb (patch)
treeae74dfbfd1ea2d85e54673de631471ab40fc277a /applets
parent7f04b5e3208882eaeabb8c11d64c9b6e90d3e253 (diff)
downloadbusybox-8759006b55c617811a207cc4e99792996c8b97fb.tar.gz
More fixes
Diffstat (limited to 'applets')
-rw-r--r--applets/busybox.c10
1 files changed, 4 insertions, 6 deletions
diff --git a/applets/busybox.c b/applets/busybox.c
index 45365b370..6bc223a1d 100644
--- a/applets/busybox.c
+++ b/applets/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},