aboutsummaryrefslogtreecommitdiff
path: root/console-tools/openvt.c
diff options
context:
space:
mode:
authorTim Riker <tim@rikers.org>2006-01-25 00:08:53 +0000
committerTim Riker <tim@rikers.org>2006-01-25 00:08:53 +0000
commitc1ef7bdd8d002ae0889efcf883d0e1b7faa938d4 (patch)
tree5f329b7d0c7f20ecced0dc7581a9ba6dc720d965 /console-tools/openvt.c
parentf64ff682a3d58dbb627e760e6fe1ec21d9ccdf61 (diff)
downloadbusybox-w32-c1ef7bdd8d002ae0889efcf883d0e1b7faa938d4.tar.gz
busybox-w32-c1ef7bdd8d002ae0889efcf883d0e1b7faa938d4.tar.bz2
busybox-w32-c1ef7bdd8d002ae0889efcf883d0e1b7faa938d4.zip
just whitespace
Diffstat (limited to 'console-tools/openvt.c')
-rw-r--r--console-tools/openvt.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/console-tools/openvt.c b/console-tools/openvt.c
index d9f49bbea..6bdf608c7 100644
--- a/console-tools/openvt.c
+++ b/console-tools/openvt.c
@@ -39,7 +39,7 @@ int openvt_main(int argc, char **argv)
39 39
40 40
41 if (argc < 3) 41 if (argc < 3)
42 bb_show_usage(); 42 bb_show_usage();
43 43
44 /* check for Illegal vt number: < 1 or > 12 */ 44 /* check for Illegal vt number: < 1 or > 12 */
45 sprintf(vtname, VC_FORMAT,(int)bb_xgetlarg(argv[1], 10, 1, 12)); 45 sprintf(vtname, VC_FORMAT,(int)bb_xgetlarg(argv[1], 10, 1, 12));
@@ -56,7 +56,7 @@ int openvt_main(int argc, char **argv)
56 if (setsid() < 0) { 56 if (setsid() < 0) {
57#endif 57#endif
58 58
59 bb_perror_msg_and_die("Unable to set new session"); 59 bb_perror_msg_and_die("Unable to set new session");
60 } 60 }
61 close(0); /* so that new vt becomes stdin */ 61 close(0); /* so that new vt becomes stdin */
62 62