[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[PATCH] init crashing in a subhurd
From: |
Moritz Schulte |
Subject: |
[PATCH] init crashing in a subhurd |
Date: |
02 Jul 2001 16:30:35 +0200 |
User-agent: |
Gnus/5.0808 (Gnus v5.8.8) Emacs/20.7 |
Hi there,
the following patch fixes a bug, which made init crashing on
reboot/halt in a subhurd.
--- init.c.orig Mon Jul 2 18:22:03 2001
+++ init.c Mon Jul 2 18:32:47 2001
@@ -267,7 +267,8 @@
u_int pisize = 0;
char *noise;
unsigned noise_len;
- err = proc_getprocinfo (procserver, pp[ind], 0,
+ int flags = 0;
+ err = proc_getprocinfo (procserver, pp[ind], &flags,
(int **)&pi, &pisize, &noise,&noise_len);
if (err == MACH_SEND_INVALID_DEST)
goto procbad;
Bye,
moritz
--
Moritz Schulte <moritz@chaosdorf.de> http://www.chaosdorf.de/moritz/
Debian/GNU supporter - http://www.debian.org/ http://www.gnu.org/
GPG fingerprint = 3A14 3923 15BE FD57 FC06 B501 0841 2D7B 6F98 4199
- [PATCH] init crashing in a subhurd,
Moritz Schulte <=