projects
/
project
/
procd.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
init: reduce delay after starting kmodloader
[project/procd.git]
/
initd
/
init.c
diff --git
a/initd/init.c
b/initd/init.c
index 9818c4fbe5912308d844927d884746aad859806e..4d17563d411c178a809196bfc6fc67347b7a25d4 100644
(file)
--- a/
initd/init.c
+++ b/
initd/init.c
@@
-106,10
+106,10
@@
main(int argc, char **argv)
} else {
int i;
- for (i = 0; i < 120; i++) {
+ for (i = 0; i < 120
0
; i++) {
if (waitpid(pid, NULL, WNOHANG) > 0)
break;
-
sleep(1
);
+
usleep(10 * 1000
);
watchdog_ping();
}
}