diff options
Diffstat (limited to 'swaponoff.c')
-rw-r--r-- | swaponoff.c | 10 |
1 files changed, 5 insertions, 5 deletions
diff --git a/swaponoff.c b/swaponoff.c index 56f93b393..5a2d735ad 100644 --- a/swaponoff.c +++ b/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 | ||