aboutsummaryrefslogtreecommitdiff
path: root/src/mosflm.c
diff options
context:
space:
mode:
Diffstat (limited to 'src/mosflm.c')
-rw-r--r--src/mosflm.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/mosflm.c b/src/mosflm.c
index 562b58d7..0fc8c695 100644
--- a/src/mosflm.c
+++ b/src/mosflm.c
@@ -590,7 +590,7 @@ void run_mosflm(struct image *image, UnitCell *cell)
close(mosflm->pty);
free(mosflm->rbuffer);
- waitpid(mosflm->pid, &status, __WNOTHREAD);
+ waitpid(mosflm->pid, &status, 0);
/* Read the mosflm NEWMAT file and set cell candidate *
* Existence of this file means possible success. Pretty shady. */