]> andersk Git - openssh.git/blobdiff - openbsd-compat/bsd-nextstep.c
- (djm) Bug #539: Specify creation mode with O_CREAT for lastlog. Report
[openssh.git] / openbsd-compat / bsd-nextstep.c
index ebac3bd9853932e8a64a706baf06554ec7a3d2bd..f3c1fb6d58daf7d9728f6ed874ec8eb2ac2e817c 100644 (file)
@@ -37,7 +37,8 @@ posix_wait(int *status)
 
        #undef wait                     /* Use NeXT's wait() function */
        wait_pid = wait(&statusp);
-       status = (int *) statusp.w_status;
+       if (status)
+               *status = (int) statusp.w_status;
 
        return wait_pid;
 }
This page took 0.034317 seconds and 4 git commands to generate.