summaryrefslogtreecommitdiff
path: root/init
diff options
context:
space:
mode:
authorMichael I. Bushnell <mib@gnu.org>1994-05-16 18:43:43 +0000
committerMichael I. Bushnell <mib@gnu.org>1994-05-16 18:43:43 +0000
commit7336599dcc79bda8f8da2d908e8ab39556a0ef5b (patch)
treeec6c8c2680e2f3c58b9eaf1dcb63f239eeadbeab /init
parent695fac6fb41dee53fd907443121d1214dfd6dd86 (diff)
Formerly init.c.~24~
Diffstat (limited to 'init')
-rw-r--r--init/init.c8
1 files changed, 4 insertions, 4 deletions
diff --git a/init/init.c b/init/init.c
index c6566ea8..8d435a70 100644
--- a/init/init.c
+++ b/init/init.c
@@ -178,10 +178,10 @@ reboot_system (int flags)
{
task_t task;
err = proc_pid2task (procserver, pp[ind], &task);
-/* if (err == MACH_SEND_INVALID_DEST)
+ if (err == MACH_SEND_INVALID_DEST)
goto procbad;
- else */ if (err)
+ else if (err)
{
printf ("init: getting task for pid %d: %s\n",
pp[ind], strerror (err));
@@ -196,8 +196,8 @@ reboot_system (int flags)
struct procinfo *pi = 0;
u_int pisize = 0;
err = proc_getprocinfo (procserver, pp[ind], (int **)&pi, &pisize);
-/* if (err == MACH_SEND_INVALID_DEST)
- goto procbad; */
+ if (err == MACH_SEND_INVALID_DEST)
+ goto procbad;
if (err)
{
printf ("init: getting procinfo for pid %d: %s\n",