aboutsummaryrefslogtreecommitdiff
path: root/loginutils
diff options
context:
space:
mode:
authorDenys Vlasenko <vda.linux@googlemail.com>2009-10-29 13:27:31 +0100
committerDenys Vlasenko <vda.linux@googlemail.com>2009-10-29 13:27:31 +0100
commit85ca327529afeceed41c1d66d0b7d48c2ffc2a4b (patch)
treeaddba6c780c2d0318f7091afb80e9be90f900ad0 /loginutils
parent1f6d2307bafd1e55addac5fc28a71f59fc3bd5ba (diff)
downloadbusybox-85ca327529afeceed41c1d66d0b7d48c2ffc2a4b.tar.gz
*: random code shrink
function old new delta alarm_handler 50 46 -4 ask 228 211 -17 rtcwake_main 474 455 -19 Signed-off-by: Denys Vlasenko <vda.linux@googlemail.com>
Diffstat (limited to 'loginutils')
-rw-r--r--loginutils/login.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/loginutils/login.c b/loginutils/login.c
index 70e85625b..c3e31d05d 100644
--- a/loginutils/login.c
+++ b/loginutils/login.c
@@ -263,7 +263,7 @@ static void alarm_handler(int sig UNUSED_PARAM)
* We don't want to block here */
ndelay_on(1);
printf("\r\nLogin timed out after %d seconds\r\n", TIMEOUT);
- fflush(stdout);
+ fflush(NULL);
/* unix API is brain damaged regarding O_NONBLOCK,
* we should undo it, or else we can affect other processes */
ndelay_off(1);