diff options
author | Eric Andersen <andersen@codepoet.org> | 1999-10-18 22:28:26 +0000 |
---|---|---|
committer | Eric Andersen <andersen@codepoet.org> | 1999-10-18 22:28:26 +0000 |
commit | b0e9a709ba1ae1724d413a77f5b67b1a3e6c6cb7 (patch) | |
tree | b951f34000ebdef0491eecd9386e5ea3e535171a /util-linux/swaponoff.c | |
parent | 703c62da63aa31d665a8215f373b26e4b54f1bf4 (diff) | |
download | busybox-w32-b0e9a709ba1ae1724d413a77f5b67b1a3e6c6cb7.tar.gz busybox-w32-b0e9a709ba1ae1724d413a77f5b67b1a3e6c6cb7.tar.bz2 busybox-w32-b0e9a709ba1ae1724d413a77f5b67b1a3e6c6cb7.zip |
More stuff.
-Erik
Diffstat (limited to 'util-linux/swaponoff.c')
-rw-r--r-- | util-linux/swaponoff.c | 10 |
1 files changed, 5 insertions, 5 deletions
diff --git a/util-linux/swaponoff.c b/util-linux/swaponoff.c index 56f93b393..5a2d735ad 100644 --- a/util-linux/swaponoff.c +++ b/util-linux/swaponoff.c | |||
@@ -33,10 +33,10 @@ static int whichApp; | |||
33 | static const char* appName; | 33 | static const char* appName; |
34 | 34 | ||
35 | static const char swapoff_usage[] = | 35 | static const char swapoff_usage[] = |
36 | "Usage: swapoff device\n" | 36 | "swapoff device\n" |
37 | "\nStop swapping virtual memory pages on the given device.\n"; | 37 | "\nStop swapping virtual memory pages on the given device.\n"; |
38 | static const char swapon_usage[] = | 38 | static const char swapon_usage[] = |
39 | "Usage: swapon device\n" | 39 | "swapon device\n" |
40 | "\nStart swapping virtual memory pages on the given device.\n"; | 40 | "\nStart swapping virtual memory pages on the given device.\n"; |
41 | 41 | ||
42 | 42 | ||
@@ -112,10 +112,10 @@ swap_on_off_main(int argc, char * * argv) | |||
112 | } | 112 | } |
113 | } | 113 | } |
114 | swap_enable_disable(*argv); | 114 | swap_enable_disable(*argv); |
115 | //exit( TRUE); | 115 | exit( TRUE); |
116 | 116 | ||
117 | usage_and_exit: | 117 | usage_and_exit: |
118 | fprintf(stderr, "Usage: %s", (whichApp==SWAPON_APP)? swapon_usage : swapoff_usage); | 118 | usage( (whichApp==SWAPON_APP)? swapon_usage : swapoff_usage); |
119 | exit(FALSE); | 119 | exit( FALSE); |
120 | } | 120 | } |
121 | 121 | ||