diff options
author | Matt Kraai <kraai@debian.org> | 2000-07-14 23:28:47 +0000 |
---|---|---|
committer | Matt Kraai <kraai@debian.org> | 2000-07-14 23:28:47 +0000 |
commit | 3bd8bd89ee9d0b65bf279e1ecad826a5f2f0a217 (patch) | |
tree | 6a217bf17e7c00e98a47f657015535f21b53cedd /deallocvt.c | |
parent | 464c5de00d3dfb5f01e866f703d95bbb2bb9443c (diff) | |
download | busybox-w32-3bd8bd89ee9d0b65bf279e1ecad826a5f2f0a217.tar.gz busybox-w32-3bd8bd89ee9d0b65bf279e1ecad826a5f2f0a217.tar.bz2 busybox-w32-3bd8bd89ee9d0b65bf279e1ecad826a5f2f0a217.zip |
Don't use strings directly in calls to usage(). This is in preparation
for their extraction to a separate file.
Diffstat (limited to 'deallocvt.c')
-rw-r--r-- | deallocvt.c | 16 |
1 files changed, 8 insertions, 8 deletions
diff --git a/deallocvt.c b/deallocvt.c index 906f3a9fa..042de8649 100644 --- a/deallocvt.c +++ b/deallocvt.c | |||
@@ -13,19 +13,19 @@ | |||
13 | /* From <linux/vt.h> */ | 13 | /* From <linux/vt.h> */ |
14 | #define VT_DISALLOCATE 0x5608 /* free memory associated to vt */ | 14 | #define VT_DISALLOCATE 0x5608 /* free memory associated to vt */ |
15 | 15 | ||
16 | const char deallocvt_usage[] = | ||
17 | "deallocvt N\n" | ||
18 | #ifndef BB_FEATURE_TRIVIAL_HELP | ||
19 | "\nDeallocate unused virtual terminal /dev/ttyN\n" | ||
20 | #endif | ||
21 | ; | ||
16 | 22 | ||
17 | int deallocvt_main(int argc, char *argv[]) | 23 | int deallocvt_main(int argc, char *argv[]) |
18 | { | 24 | { |
19 | int fd, num, i; | 25 | int fd, num, i; |
20 | 26 | ||
21 | if ((argc != 2) || (**(argv + 1) == '-')) { | 27 | if ((argc != 2) || (**(argv + 1) == '-')) |
22 | usage | 28 | usage(deallocvt_usage); |
23 | ("deallocvt N\n" | ||
24 | #ifndef BB_FEATURE_TRIVIAL_HELP | ||
25 | "\nDeallocate unused virtual terminal /dev/ttyN\n" | ||
26 | #endif | ||
27 | ); | ||
28 | } | ||
29 | 29 | ||
30 | fd = get_console_fd("/dev/console"); | 30 | fd = get_console_fd("/dev/console"); |
31 | 31 | ||