diff options
author | Quentin Rameau <quinq@fifth.space> | 2015-11-22 12:22:23 +0100 |
---|---|---|
committer | Quentin Rameau <quinq@fifth.space> | 2015-11-22 12:22:23 +0100 |
commit | 7c24c61ab22990ce8dd8158706f11ae7cba77bf0 (patch) | |
tree | b5e8c340f61d827c17754ff6fb4fc5970dc5793b /surf.c | |
parent | 890ab510ea2a547926e6814fdcd596910c87d614 (diff) | |
download | surf-7c24c61ab22990ce8dd8158706f11ae7cba77bf0.tar.gz surf-7c24c61ab22990ce8dd8158706f11ae7cba77bf0.tar.bz2 surf-7c24c61ab22990ce8dd8158706f11ae7cba77bf0.zip |
Style fix in sigchld()
Diffstat (limited to 'surf.c')
-rw-r--r-- | surf.c | 3 |
1 files changed, 2 insertions, 1 deletions
@@ -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 * |