aboutsummaryrefslogtreecommitdiff
path: root/loginutils
diff options
context:
space:
mode:
authorGravatar Denis Vlasenko <vda.linux@googlemail.com>2007-11-08 17:40:23 +0000
committerGravatar Denis Vlasenko <vda.linux@googlemail.com>2007-11-08 17:40:23 +0000
commitabbd363261cf3a9b18e611c524f8103fb68f539b (patch)
tree33545409717701ac3cc40d2a60f80a697835620c /loginutils
parent53bd4015aa7ec79b8f45edd30555ea7b7235d7ca (diff)
downloadbusybox-abbd363261cf3a9b18e611c524f8103fb68f539b.tar.gz
busybox-abbd363261cf3a9b18e611c524f8103fb68f539b.tar.bz2
xreadlink: code shrink
udhcp: add missing tryagain member to client_config function old new delta xmalloc_readlink_follow 169 154 -15 ------------------------------------------------------------------------------ (add/remove: 0/0 grow/shrink: 0/1 up/down: 0/-15) Total: -15 bytes
Diffstat (limited to 'loginutils')
-rw-r--r--loginutils/login.c3
1 files changed, 1 insertions, 2 deletions
diff --git a/loginutils/login.c b/loginutils/login.c
index c1e0c7699..7e9044654 100644
--- a/loginutils/login.c
+++ b/loginutils/login.c
@@ -305,9 +305,8 @@ int login_main(int argc, char **argv)
openlog(applet_name, LOG_PID | LOG_CONS | LOG_NOWAIT, LOG_AUTH);
while (1) {
-
/* flush away any type-ahead (as getty does) */
- (void) ioctl(0, TCFLSH, TCIFLUSH);
+ ioctl(0, TCFLSH, TCIFLUSH);
if (!username[0])
get_username_or_die(username, sizeof(username));