aboutsummaryrefslogtreecommitdiff
path: root/src/dirax.c
diff options
context:
space:
mode:
authorThomas White <taw@physics.org>2011-03-09 16:31:14 +0100
committerThomas White <taw@physics.org>2012-02-22 15:27:19 +0100
commit119608ac2a339aca282812e9cbdc3bb015c1040c (patch)
treeb8e2ad1db24a406788c980f2a163bd18ce34a6fb /src/dirax.c
parent6b67dc7ba7301274167519d5fcc38161b1a791a9 (diff)
Remove _WNOTHREAD - shouldn't be needed
Diffstat (limited to 'src/dirax.c')
-rw-r--r--src/dirax.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/dirax.c b/src/dirax.c
index 626560da..35a2b1ce 100644
--- a/src/dirax.c
+++ b/src/dirax.c
@@ -515,7 +515,7 @@ void run_dirax(struct image *image)
close(dirax->pty);
free(dirax->rbuffer);
- waitpid(dirax->pid, &status, __WNOTHREAD);
+ waitpid(dirax->pid, &status, 0);
free(dirax);
}