diff options
author | Denys Vlasenko <vda.linux@googlemail.com> | 2009-10-29 15:27:31 +0300 |
---|---|---|
committer | Denys Vlasenko <vda.linux@googlemail.com> | 2009-10-29 15:27:31 +0300 |
commit | 85ca327529afeceed41c1d66d0b7d48c2ffc2a4b (patch) | |
tree | addba6c780c2d0318f7091afb80e9be90f900ad0 /loginutils | |
parent | 1f6d2307bafd1e55addac5fc28a71f59fc3bd5ba (diff) |
*: 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.c | 2 |
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); |