diff options
Diffstat (limited to 'console-tools')
-rw-r--r-- | console-tools/chvt.c | 2 | ||||
-rw-r--r-- | console-tools/deallocvt.c | 2 | ||||
-rw-r--r-- | console-tools/dumpkmap.c | 2 | ||||
-rw-r--r-- | console-tools/loadacm.c | 2 | ||||
-rw-r--r-- | console-tools/loadfont.c | 2 | ||||
-rw-r--r-- | console-tools/loadkmap.c | 2 | ||||
-rw-r--r-- | console-tools/setkeycodes.c | 2 |
7 files changed, 7 insertions, 7 deletions
diff --git a/console-tools/chvt.c b/console-tools/chvt.c index c715e67..f2e6d5f 100644 --- a/console-tools/chvt.c +++ b/console-tools/chvt.c @@ -20,7 +20,7 @@ int chvt_main(int argc, char **argv) int fd, num; if ((argc != 2) || (**(argv + 1) == '-')) - usage (chvt_usage); + show_usage(); fd = get_console_fd("/dev/console"); num = atoi(argv[1]); if (ioctl(fd, VT_ACTIVATE, num)) diff --git a/console-tools/deallocvt.c b/console-tools/deallocvt.c index b51fbae..8c390c2 100644 --- a/console-tools/deallocvt.c +++ b/console-tools/deallocvt.c @@ -19,7 +19,7 @@ int deallocvt_main(int argc, char *argv[]) //if ((argc > 2) || ((argv == 2) && (**(argv + 1) == '-'))) if (argc > 2) - usage(deallocvt_usage); + show_usage(); fd = get_console_fd("/dev/console"); diff --git a/console-tools/dumpkmap.c b/console-tools/dumpkmap.c index 4ab711e..b9f1bd2 100644 --- a/console-tools/dumpkmap.c +++ b/console-tools/dumpkmap.c @@ -48,7 +48,7 @@ int dumpkmap_main(int argc, char **argv) char flags[MAX_NR_KEYMAPS], magic[] = "bkeymap"; if (argc>=2 && *argv[1]=='-') { - usage(dumpkmap_usage); + show_usage(); } fd = open("/dev/tty0", O_RDWR); diff --git a/console-tools/loadacm.c b/console-tools/loadacm.c index 345a277..6422137 100644 --- a/console-tools/loadacm.c +++ b/console-tools/loadacm.c @@ -34,7 +34,7 @@ int loadacm_main(int argc, char **argv) int fd; if (argc>=2 && *argv[1]=='-') { - usage(loadacm_usage); + show_usage(); } fd = open("/dev/tty", O_RDWR); diff --git a/console-tools/loadfont.c b/console-tools/loadfont.c index ec3e505..d7bd7e8 100644 --- a/console-tools/loadfont.c +++ b/console-tools/loadfont.c @@ -44,7 +44,7 @@ extern int loadfont_main(int argc, char **argv) int fd; if (argc != 1) - usage(loadfont_usage); + show_usage(); fd = open("/dev/tty0", O_RDWR); if (fd < 0) diff --git a/console-tools/loadkmap.c b/console-tools/loadkmap.c index a98601a..5ecd819 100644 --- a/console-tools/loadkmap.c +++ b/console-tools/loadkmap.c @@ -51,7 +51,7 @@ int loadkmap_main(int argc, char **argv) char flags[MAX_NR_KEYMAPS], buff[7]; if (argc != 1) - usage(loadkmap_usage); + show_usage(); fd = open("/dev/tty0", O_RDWR); if (fd < 0) diff --git a/console-tools/setkeycodes.c b/console-tools/setkeycodes.c index 3e511ad..0be4724 100644 --- a/console-tools/setkeycodes.c +++ b/console-tools/setkeycodes.c @@ -43,7 +43,7 @@ setkeycodes_main(int argc, char** argv) struct kbkeycode a; if (argc % 2 != 1 || argc < 2) { - usage(setkeycodes_usage); + show_usage(); } fd = get_console_fd("/dev/console"); |