FIXED INIT FINALLY (??)
authorDavid Dawes <dawes@physics.su.OZ.AU>
Tue, 26 Jan 1993 00:00:00 +0000 (00:00 +0000)
committerDavid Dawes <dawes@physics.su.OZ.AU>
Tue, 26 Jan 1993 00:00:00 +0000 (00:00 +0000)
This is a patchkit patch, because init.c never got fixed
correctly (even though the originally supplied patch was correct)

AUTHOR: XXX
386BSD-Patchkit: patch00076

usr/src/sbin/init/init.c

index 46e6a8e..fd36c16 100644 (file)
@@ -32,7 +32,7 @@
  *
  * PATCHES MAGIC                LEVEL   PATCH THAT GOT US HERE
  * --------------------         -----   ----------------------
  *
  * PATCHES MAGIC                LEVEL   PATCH THAT GOT US HERE
  * --------------------         -----   ----------------------
- * CURRENT PATCH LEVEL:         4       00029
+ * CURRENT PATCH LEVEL:         5       00076
  * --------------------         -----   ----------------------
  *
  * 15 Aug 92   David Dawes             SIGTERM + 10 seconds before SIGKILL
  * --------------------         -----   ----------------------
  *
  * 15 Aug 92   David Dawes             SIGTERM + 10 seconds before SIGKILL
@@ -40,6 +40,7 @@
  * 31 Jul 92   Christoph Robitschko    Fixed run level change code
  * 04 Sep 92   Paul Kranenburg         Fixed kill -1 and kill -15 for
  *                                     daemons started from /etc/rc.
  * 31 Jul 92   Christoph Robitschko    Fixed run level change code
  * 04 Sep 92   Paul Kranenburg         Fixed kill -1 and kill -15 for
  *                                     daemons started from /etc/rc.
+ * 26 Jan 93   Nate Williams           Fixed patchkit error
  */
 
 
  */
 
 
@@ -231,7 +232,7 @@ top:
                        execl("/bin/sh", "-", (char *)0);
                        _exit(127);
                }
                        execl("/bin/sh", "-", (char *)0);
                        _exit(127);
                }
-               while(wait(&status) != pid)
+               while(wait(&status) != pid);
                while(drain)                            /* 31 Jul 92*/
                        pause();
                goto top;
                while(drain)                            /* 31 Jul 92*/
                        pause();
                goto top;