From ead19306f5d6d5d5ef49165aa518e525de8e84b2 Mon Sep 17 00:00:00 2001 From: Rob Landley Date: Fri, 10 Mar 2006 23:16:25 +0000 Subject: Cleanup patches from tito. --- console-tools/deallocvt.c | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) (limited to 'console-tools/deallocvt.c') diff --git a/console-tools/deallocvt.c b/console-tools/deallocvt.c index ad3cebfef..853b2b489 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; -- cgit v1.2.3