Style fix in sigchld()
This commit is contained in:
parent
890ab510ea
commit
7c24c61ab2
3
surf.c
3
surf.c
|
@ -259,7 +259,8 @@ sigchld(int unused)
|
||||||
{
|
{
|
||||||
if (signal(SIGCHLD, sigchld) == SIG_ERR)
|
if (signal(SIGCHLD, sigchld) == SIG_ERR)
|
||||||
die("Can't install SIGCHLD handler");
|
die("Can't install SIGCHLD handler");
|
||||||
while (0 < waitpid(-1, NULL, WNOHANG));
|
while (waitpid(-1, NULL, WNOHANG) > 0)
|
||||||
|
;
|
||||||
}
|
}
|
||||||
|
|
||||||
char *
|
char *
|
||||||
|
|
Loading…
Reference in New Issue