diff options
author | rgrimes <rgrimes@FreeBSD.org> | 1994-05-25 09:21:21 +0000 |
---|---|---|
committer | rgrimes <rgrimes@FreeBSD.org> | 1994-05-25 09:21:21 +0000 |
commit | 2469c867a164210ce96143517059f21db7f1fd17 (patch) | |
tree | 9179427ac860211c445df663fd2b86267366bfba /sys/kern/subr_prf.c | |
parent | cb0aba89af15a48e2655e898a503946ac4cb42ae (diff) | |
download | FreeBSD-src-2469c867a164210ce96143517059f21db7f1fd17.zip FreeBSD-src-2469c867a164210ce96143517059f21db7f1fd17.tar.gz |
The big 4.4BSD Lite to FreeBSD 2.0.0 (Development) patch.
Reviewed by: Rodney W. Grimes
Submitted by: John Dyson and David Greenman
Diffstat (limited to 'sys/kern/subr_prf.c')
-rw-r--r-- | sys/kern/subr_prf.c | 6 |
1 files changed, 6 insertions, 0 deletions
diff --git a/sys/kern/subr_prf.c b/sys/kern/subr_prf.c index 2adb779..5ef4925 100644 --- a/sys/kern/subr_prf.c +++ b/sys/kern/subr_prf.c @@ -122,6 +122,10 @@ panic(fmt, va_alist) if (boothowto & RB_KDB) kdbpanic(); #endif +#include "ddb.h" +#if NDDB > 0 + Debugger ("panic"); +#endif boot(bootopt); } @@ -508,8 +512,10 @@ putchar(c, flags, tp) * Scaled down version of sprintf(3). */ #ifdef __STDC__ +int sprintf(char *buf, const char *cfmt, ...) #else +int sprintf(buf, cfmt, va_alist) char *buf, *cfmt; #endif |