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-w32-85ca327529afeceed41c1d66d0b7d48c2ffc2a4b.tar.gz
busybox-w32-85ca327529afeceed41c1d66d0b7d48c2ffc2a4b.tar.bz2
busybox-w32-85ca327529afeceed41c1d66d0b7d48c2ffc2a4b.zip
*: 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)
263 * We don't want to block here */ 263 * We don't want to block here */
264 ndelay_on(1); 264 ndelay_on(1);
265 printf("\r\nLogin timed out after %d seconds\r\n", TIMEOUT); 265 printf("\r\nLogin timed out after %d seconds\r\n", TIMEOUT);
266 fflush(stdout); 266 fflush(NULL);
267 /* unix API is brain damaged regarding O_NONBLOCK, 267 /* unix API is brain damaged regarding O_NONBLOCK,
268 * we should undo it, or else we can affect other processes */ 268 * we should undo it, or else we can affect other processes */
269 ndelay_off(1); 269 ndelay_off(1);