projects
/
unix-history
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
tags
|
clone url
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
clean crashes!
[unix-history]
/
usr
/
src
/
sys
/
kern
/
subr_prf.c
diff --git
a/usr/src/sys/kern/subr_prf.c
b/usr/src/sys/kern/subr_prf.c
index
f671d7f
..
c7d1cc9
100644
(file)
--- a/
usr/src/sys/kern/subr_prf.c
+++ b/
usr/src/sys/kern/subr_prf.c
@@
-1,4
+1,4
@@
-/* subr_prf.c 4.2
0 82/01/14
*/
+/* subr_prf.c 4.2
1 82/01/16
*/
#include "../h/param.h"
#include "../h/systm.h"
#include "../h/param.h"
#include "../h/systm.h"
@@
-170,11
+170,12
@@
printn(n, b, touser)
panic(s)
char *s;
{
panic(s)
char *s;
{
- int bootopt =
panicstr ? RB_AUTOBOOT : RB_AUTOBOOT|RB_NOSYNC
;
+ int bootopt =
RB_AUTOBOOT
;
+ if (panicstr)
+ bootopt |= RB_NOSYNC;
panicstr = s;
printf("panic: %s\n", s);
panicstr = s;
printf("panic: %s\n", s);
- (void) spl0();
boot(RB_PANIC, bootopt);
}
boot(RB_PANIC, bootopt);
}