summaryrefslogtreecommitdiff
path: root/loginutils/vlock.c
diff options
context:
space:
mode:
authorRob Landley2006-01-06 20:59:09 +0000
committerRob Landley2006-01-06 20:59:09 +0000
commit84cb76733f0e5853a6c7c2f64b1c168e61dfd933 (patch)
treee9315133e3d21ea032e5e676ddb3f39e18be5605 /loginutils/vlock.c
parent251161f75c0895a1138f87bd80d9bcc38e567444 (diff)
downloadbusybox-84cb76733f0e5853a6c7c2f64b1c168e61dfd933.zip
busybox-84cb76733f0e5853a6c7c2f64b1c168e61dfd933.tar.gz
patch from tito: consolidate delay functions as bb_do_delay()
Diffstat (limited to 'loginutils/vlock.c')
-rw-r--r--loginutils/vlock.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/loginutils/vlock.c b/loginutils/vlock.c
index 141767c..0975b51 100644
--- a/loginutils/vlock.c
+++ b/loginutils/vlock.c
@@ -135,7 +135,7 @@ extern int vlock_main(int argc, char **argv)
if (correct_password (pw)) {
break;
}
- sleep(10);
+ bb_do_delay(FAIL_DELAY);
puts("Password incorrect.");
} while (1);
restore_terminal();