commit | 3854c5ddf4eb267e4e53796eaa1051421dcb4e08 | [log] [tgz] |
---|---|---|
author | Denis Vlasenko <vda.linux@googlemail.com> | Thu Nov 06 22:39:57 2008 +0000 |
committer | Denis Vlasenko <vda.linux@googlemail.com> | Thu Nov 06 22:39:57 2008 +0000 |
tree | 7110eecec665bc64fefcdedaa29eb2e2fdf2df41 | |
parent | 70e8f49f71b824bbc7c5ec825eb33108134d1ee5 [diff] [blame] |
runsvdir: alternative methon of supporting runsvdir-as-init. +66 bytes. *: s/int/pid_t where appropriate
diff --git a/runit/runsv.c b/runit/runsv.c index bd0f3dc..56244d0 100644 --- a/runit/runsv.c +++ b/runit/runsv.c
@@ -247,7 +247,7 @@ static unsigned custom(struct svdir *s, char c) { - int pid; + pid_t pid; int w; char a[10]; struct stat st; @@ -584,7 +584,7 @@ continue; for (;;) { - int child; + pid_t child; int wstat; child = wait_any_nohang(&wstat);