summaryrefslogtreecommitdiff
path: root/loginutils
diff options
context:
space:
mode:
authorDenis Vlasenko2007-11-08 17:40:23 +0000
committerDenis Vlasenko2007-11-08 17:40:23 +0000
commitabbd363261cf3a9b18e611c524f8103fb68f539b (patch)
tree33545409717701ac3cc40d2a60f80a697835620c /loginutils
parent53bd4015aa7ec79b8f45edd30555ea7b7235d7ca (diff)
downloadbusybox-abbd363261cf3a9b18e611c524f8103fb68f539b.zip
busybox-abbd363261cf3a9b18e611c524f8103fb68f539b.tar.gz
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 c1e0c76..7e90446 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));