]> andersk Git - openssh.git/blobdiff - openbsd-compat/bsd-nextstep.c
- (dtucker) [servconf.c sshd.c] More whitespace sync.
[openssh.git] / openbsd-compat / bsd-nextstep.c
index ebac3bd9853932e8a64a706baf06554ec7a3d2bd..8195af88a4ba1d71e39ffb92bdab9f02c1b7bab7 100644 (file)
@@ -1,4 +1,6 @@
 /*
+ * Copyright (c) 2000,2001 Ben Lindstrom.  All rights reserved.
+ *
  * Redistribution and use in source and binary forms, with or without
  * modification, are permitted provided that the following conditions
  * are met:
@@ -22,8 +24,6 @@
 
 #include "includes.h"
 
-RCSID("$Id$");
-
 #ifdef HAVE_NEXT
 #include <errno.h>
 #include <sys/wait.h>
@@ -37,9 +37,10 @@ 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;
+       return (wait_pid);
 }
 
 int
This page took 3.60164 seconds and 4 git commands to generate.