summaryrefslogtreecommitdiff
path: root/console-tools/chvt.c
diff options
context:
space:
mode:
Diffstat (limited to 'console-tools/chvt.c')
-rw-r--r--console-tools/chvt.c6
1 files changed, 3 insertions, 3 deletions
diff --git a/console-tools/chvt.c b/console-tools/chvt.c
index 8136f1c..11e1078 100644
--- a/console-tools/chvt.c
+++ b/console-tools/chvt.c
@@ -23,13 +23,13 @@ int chvt_main(int argc, char **argv)
int fd, num;
if ((argc != 2) || (**(argv + 1) == '-'))
- show_usage();
+ bb_show_usage();
fd = get_console_fd();
num = atoi(argv[1]);
if (ioctl(fd, VT_ACTIVATE, num))
- perror_msg_and_die("VT_ACTIVATE");
+ bb_perror_msg_and_die("VT_ACTIVATE");
if (ioctl(fd, VT_WAITACTIVE, num))
- perror_msg_and_die("VT_WAITACTIVE");
+ bb_perror_msg_and_die("VT_WAITACTIVE");
return EXIT_SUCCESS;
}