From cad5364599eb5062d59e0c397ed638ddd61a8d5d Mon Sep 17 00:00:00 2001 From: Manuel Novoa III Date: Wed, 19 Mar 2003 09:13:01 +0000 Subject: Major coreutils update. --- console-tools/deallocvt.c | 10 +++++----- 1 file changed, 5 insertions(+), 5 deletions(-) (limited to 'console-tools/deallocvt.c') diff --git a/console-tools/deallocvt.c b/console-tools/deallocvt.c index b7dcc9e22..a4ba851c8 100644 --- a/console-tools/deallocvt.c +++ b/console-tools/deallocvt.c @@ -19,23 +19,23 @@ int deallocvt_main(int argc, char *argv[]) //if ((argc > 2) || ((argv == 2) && (**(argv + 1) == '-'))) if (argc > 2) - show_usage(); + bb_show_usage(); fd = get_console_fd(); if (argc == 1) { /* deallocate all unused consoles */ if (ioctl(fd, VT_DISALLOCATE, 0)) - perror_msg_and_die("VT_DISALLOCATE"); + bb_perror_msg_and_die("VT_DISALLOCATE"); } else { for (i = 1; i < argc; i++) { num = atoi(argv[i]); if (num == 0) - error_msg("0: illegal VT number"); + bb_error_msg("0: illegal VT number"); else if (num == 1) - error_msg("VT 1 cannot be deallocated"); + bb_error_msg("VT 1 cannot be deallocated"); else if (ioctl(fd, VT_DISALLOCATE, num)) - perror_msg_and_die("VT_DISALLOCATE"); + bb_perror_msg_and_die("VT_DISALLOCATE"); } } -- cgit v1.2.3