diff options
author | Denis Vlasenko <vda.linux@googlemail.com> | 2006-09-17 16:28:10 +0000 |
---|---|---|
committer | Denis Vlasenko <vda.linux@googlemail.com> | 2006-09-17 16:28:10 +0000 |
commit | 9213a9e0f2d8fd638ecd02e2628d96dd5c7d233e (patch) | |
tree | 94c3c0678d1349497abe2db6004e9331e50f6d37 /loginutils/getty.c | |
parent | a6127aacef047ed7661722705b052811fbe7f467 (diff) | |
download | busybox-w32-9213a9e0f2d8fd638ecd02e2628d96dd5c7d233e.tar.gz busybox-w32-9213a9e0f2d8fd638ecd02e2628d96dd5c7d233e.tar.bz2 busybox-w32-9213a9e0f2d8fd638ecd02e2628d96dd5c7d233e.zip |
whitespace cleanup
Diffstat (limited to 'loginutils/getty.c')
-rw-r--r-- | loginutils/getty.c | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/loginutils/getty.c b/loginutils/getty.c index 71f6b2458..b456e076d 100644 --- a/loginutils/getty.c +++ b/loginutils/getty.c | |||
@@ -337,7 +337,7 @@ static void open_tty(char *tty, struct termio *tp, int local) | |||
337 | if(fd) { | 337 | if(fd) { |
338 | xdup2(fd, 0, tty); | 338 | xdup2(fd, 0, tty); |
339 | close(fd); | 339 | close(fd); |
340 | } | 340 | } |
341 | } else { | 341 | } else { |
342 | /* | 342 | /* |
343 | * Standard input should already be connected to an open port. Make | 343 | * Standard input should already be connected to an open port. Make |
@@ -812,11 +812,11 @@ int getty_main(int argc, char **argv) | |||
812 | setsid(); | 812 | setsid(); |
813 | #endif | 813 | #endif |
814 | /* We want special flavor of error_msg_and_die */ | 814 | /* We want special flavor of error_msg_and_die */ |
815 | die_sleep = 10; | 815 | die_sleep = 10; |
816 | msg_eol = "\r\n"; | 816 | msg_eol = "\r\n"; |
817 | /* Was "/dev/console". Why should we spam *system console* | 817 | /* Was "/dev/console". Why should we spam *system console* |
818 | * if there is a problem with getty on /dev/ttyS15?... */ | 818 | * if there is a problem with getty on /dev/ttyS15?... */ |
819 | nullfd = xopen(bb_dev_null, O_RDWR); | 819 | nullfd = xopen(bb_dev_null, O_RDWR); |
820 | dup2(nullfd, 0); | 820 | dup2(nullfd, 0); |
821 | dup2(nullfd, 1); | 821 | dup2(nullfd, 1); |
822 | dup2(nullfd, 2); | 822 | dup2(nullfd, 2); |