diff options
author | Rob Landley | 2006-03-10 23:16:25 +0000 |
---|---|---|
committer | Rob Landley | 2006-03-10 23:16:25 +0000 |
commit | ead19306f5d6d5d5ef49165aa518e525de8e84b2 (patch) | |
tree | 50e2c88bee71b9c4da3b54f951d337c112a85c03 /console-tools/deallocvt.c | |
parent | bc68cd14ccaebc17e7e03a08e51fddfb91007624 (diff) | |
download | busybox-ead19306f5d6d5d5ef49165aa518e525de8e84b2.zip busybox-ead19306f5d6d5d5ef49165aa518e525de8e84b2.tar.gz |
Cleanup patches from tito.
Diffstat (limited to 'console-tools/deallocvt.c')
-rw-r--r-- | console-tools/deallocvt.c | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/console-tools/deallocvt.c b/console-tools/deallocvt.c index ad3cebf..853b2b4 100644 --- a/console-tools/deallocvt.c +++ b/console-tools/deallocvt.c @@ -37,11 +37,11 @@ int deallocvt_main(int argc, char *argv[]) /* num = 0 deallocate all unused consoles */ int num = 0; - switch(argc) - { + switch (argc) { case 2: - if((num = bb_xgetlarg(argv[1], 10, 0, INT_MAX)) == 0) + if ((num = bb_xgetlarg(argv[1], 10, 0, INT_MAX)) == 0) { bb_error_msg_and_die("0: illegal VT number"); + } /* Fallthrough */ case 1: break; @@ -49,7 +49,7 @@ int deallocvt_main(int argc, char *argv[]) bb_show_usage(); } - if (-1 == 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; |