restor lost %s
authorBill Joy <wnj@ucbvax.Berkeley.EDU>
Tue, 17 Mar 1981 21:50:21 +0000 (13:50 -0800)
committerBill Joy <wnj@ucbvax.Berkeley.EDU>
Tue, 17 Mar 1981 21:50:21 +0000 (13:50 -0800)
SCCS-vsn: sys/kern/subr_prf.c 4.16

usr/src/sys/kern/subr_prf.c

index 618384d..7cb2306 100644 (file)
@@ -1,4 +1,4 @@
-/*     subr_prf.c      4.15    81/03/09        */
+/*     subr_prf.c      4.16    81/03/17        */
 
 #include "../h/param.h"
 #include "../h/systm.h"
 
 #include "../h/param.h"
 #include "../h/systm.h"
@@ -168,6 +168,7 @@ panic(s)
        int bootopt = panicstr ? RB_AUTOBOOT : RB_AUTOBOOT|RB_NOSYNC;
 
        panicstr = s;
        int bootopt = panicstr ? RB_AUTOBOOT : RB_AUTOBOOT|RB_NOSYNC;
 
        panicstr = s;
+       printf("panic: %s\n", s);
        (void) spl0();
        boot(RB_PANIC, bootopt);
 }
        (void) spl0();
        boot(RB_PANIC, bootopt);
 }