summaryrefslogtreecommitdiff
path: root/console-tools/deallocvt.c
diff options
context:
space:
mode:
authorRob Landley2005-09-08 03:27:06 +0000
committerRob Landley2005-09-08 03:27:06 +0000
commit9f0e00fc61858a0e3cc6711b78e95c57b484ef7c (patch)
treec7b8e35296501484d82d6ac84ae1685df3339ccb /console-tools/deallocvt.c
parent230b411de87219f8a59e5d4061d7908cd44ed4d7 (diff)
downloadbusybox-9f0e00fc61858a0e3cc6711b78e95c57b484ef7c.zip
busybox-9f0e00fc61858a0e3cc6711b78e95c57b484ef7c.tar.gz
Tito sent more size tweaks.
Diffstat (limited to 'console-tools/deallocvt.c')
-rw-r--r--console-tools/deallocvt.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/console-tools/deallocvt.c b/console-tools/deallocvt.c
index 08a9d21..00ddf42 100644
--- a/console-tools/deallocvt.c
+++ b/console-tools/deallocvt.c
@@ -42,14 +42,14 @@ int deallocvt_main(int argc, char *argv[])
case 2:
if((num = bb_xgetlarg(argv[1], 10, 0, INT_MAX)) == 0)
bb_error_msg_and_die("0: illegal VT number");
- /* Falltrough */
+ /* Fallthrough */
case 1:
break;
default:
bb_show_usage();
}
- if (ioctl( get_console_fd(), VT_DISALLOCATE, num )) {
+ if (-1 == ioctl( get_console_fd(), VT_DISALLOCATE, num )) {
bb_perror_msg_and_die("VT_DISALLOCATE");
}
return EXIT_SUCCESS;