aboutsummaryrefslogtreecommitdiff
path: root/loginutils/getty.c
diff options
context:
space:
mode:
authorEric Andersen <andersen@codepoet.org>2004-03-15 08:29:22 +0000
committerEric Andersen <andersen@codepoet.org>2004-03-15 08:29:22 +0000
commitc7bda1ce659294d6e22c06e087f6f265983c7578 (patch)
tree4c6d2217f4d8306c59cf1096f8664e1cfd167213 /loginutils/getty.c
parent8854004b41065b3d081af7f3df13a100b0c8bfbe (diff)
downloadbusybox-w32-c7bda1ce659294d6e22c06e087f6f265983c7578.tar.gz
busybox-w32-c7bda1ce659294d6e22c06e087f6f265983c7578.tar.bz2
busybox-w32-c7bda1ce659294d6e22c06e087f6f265983c7578.zip
Remove trailing whitespace. Update copyright to include 2004.
Diffstat (limited to 'loginutils/getty.c')
-rw-r--r--loginutils/getty.c14
1 files changed, 7 insertions, 7 deletions
diff --git a/loginutils/getty.c b/loginutils/getty.c
index b12b88fb1..0e475e4c0 100644
--- a/loginutils/getty.c
+++ b/loginutils/getty.c
@@ -5,13 +5,13 @@
5 be here. Now read the real man-page agetty.8 instead. 5 be here. Now read the real man-page agetty.8 instead.
6 6
7 -f option added by Eric Rasmussen <ear@usfirst.org> - 12/28/95 7 -f option added by Eric Rasmussen <ear@usfirst.org> - 12/28/95
8 8
9 1999-02-22 Arkadiusz Mi¶kiewicz <misiek@misiek.eu.org> 9 1999-02-22 Arkadiusz Mi¶kiewicz <misiek@misiek.eu.org>
10 - added Native Language Support 10 - added Native Language Support
11 11
12 1999-05-05 Thorsten Kranzkowski <dl8bcu@gmx.net> 12 1999-05-05 Thorsten Kranzkowski <dl8bcu@gmx.net>
13 - enable hardware flow control before displaying /etc/issue 13 - enable hardware flow control before displaying /etc/issue
14 14
15*/ 15*/
16 16
17#include <stdio.h> 17#include <stdio.h>
@@ -54,11 +54,11 @@ extern void updwtmp(const char *filename, const struct utmp *ut);
54 54
55 /* 55 /*
56 * Things you may want to modify. 56 * Things you may want to modify.
57 * 57 *
58 * If ISSUE is not defined, agetty will never display the contents of the 58 * If ISSUE is not defined, agetty will never display the contents of the
59 * /etc/issue file. You will not want to spit out large "issue" files at the 59 * /etc/issue file. You will not want to spit out large "issue" files at the
60 * wrong baud rate. Relevant for System V only. 60 * wrong baud rate. Relevant for System V only.
61 * 61 *
62 * You may disagree with the default line-editing etc. characters defined 62 * You may disagree with the default line-editing etc. characters defined
63 * below. Note, however, that DEL cannot be used for interrupt generation 63 * below. Note, however, that DEL cannot be used for interrupt generation
64 * and for line editing at the same time. 64 * and for line editing at the same time.
@@ -386,7 +386,7 @@ static void parse_args(int argc, char **argv, struct options *op)
386 case 'I': 386 case 'I':
387 if (!(op->initstring = strdup(optarg))) 387 if (!(op->initstring = strdup(optarg)))
388 error(bb_msg_memory_exhausted); 388 error(bb_msg_memory_exhausted);
389 389
390 { 390 {
391 const char *p; 391 const char *p;
392 char *q; 392 char *q;
@@ -700,9 +700,9 @@ static void auto_baud(struct termio *tp)
700 * the DCD line, and if the computer is fast enough to set the proper 700 * the DCD line, and if the computer is fast enough to set the proper
701 * baud rate before the message has gone by. We expect a message of the 701 * baud rate before the message has gone by. We expect a message of the
702 * following format: 702 * following format:
703 * 703 *
704 * <junk><number><junk> 704 * <junk><number><junk>
705 * 705 *
706 * The number is interpreted as the baud rate of the incoming call. If the 706 * The number is interpreted as the baud rate of the incoming call. If the
707 * modem does not tell us the baud rate within one second, we will keep 707 * modem does not tell us the baud rate within one second, we will keep
708 * using the current baud rate. It is advisable to enable BREAK 708 * using the current baud rate. It is advisable to enable BREAK