runsvdir: alternative methon of supporting runsvdir-as-init. +66 bytes.

*: s/int/pid_t where appropriate
This commit is contained in:
Denis Vlasenko
2008-11-06 22:39:57 +00:00
parent 70e8f49f71
commit 3854c5ddf4
6 changed files with 46 additions and 33 deletions

View File

@@ -147,7 +147,7 @@ static void connection_status(void)
static void sig_child_handler(int sig UNUSED_PARAM)
{
int wstat;
int pid;
pid_t pid;
while ((pid = wait_any_nohang(&wstat)) > 0) {
if (max_per_host)