Style fix in sigchld()

This commit is contained in:
Quentin Rameau 2015-11-22 12:22:23 +01:00
parent 890ab510ea
commit 7c24c61ab2

3
surf.c
View file

@ -259,7 +259,8 @@ sigchld(int unused)
{
if (signal(SIGCHLD, sigchld) == SIG_ERR)
die("Can't install SIGCHLD handler");
while (0 < waitpid(-1, NULL, WNOHANG));
while (waitpid(-1, NULL, WNOHANG) > 0)
;
}
char *