Skip to content

Commit

Permalink
Fix file semantics
Browse files Browse the repository at this point in the history
Signed-off-by: Vinothkumar Siddharth <[email protected]>
  • Loading branch information
vsiddharth committed May 17, 2017
1 parent ec45a47 commit 9fa5e85
Showing 1 changed file with 1 addition and 2 deletions.
3 changes: 1 addition & 2 deletions build/pause/pause.c
Original file line number Diff line number Diff line change
Expand Up @@ -27,8 +27,7 @@ static void sigdown(int signo) {
}

static void sigreap(int signo) {
while (waitpid(-1, NULL, WNOHANG) > 0)
;
while (waitpid(-1, NULL, WNOHANG) > 0);
}

int main() {
Expand Down

0 comments on commit 9fa5e85

Please sign in to comment.