Date: Sun, 15 Jun 2003 04:43:00 -0700 (PDT) From: Ian Dowse <iedowse@FreeBSD.org> To: src-committers@FreeBSD.org, cvs-src@FreeBSD.org, cvs-all@FreeBSD.org Subject: cvs commit: src/sys/kern kern_shutdown.c Message-ID: <200306151143.h5FBh0lc076987@repoman.freebsd.org>
next in thread | raw e-mail | index | archive | help
iedowse 2003/06/15 04:43:00 PDT
FreeBSD src repository
Modified files:
sys/kern kern_shutdown.c
Log:
Don't overwrite the static panicstr buffer for secondary and further
panics. Before revision 1.38, we used to just point panicstr at the
format string if panicstr was NULL, but since we now use a static
buffer for the formatted panic message, we have to be careful to
only write to it during the first panic.
Pointed out by: bde
Revision Changes Path
1.145 +8 -3 src/sys/kern/kern_shutdown.c
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?200306151143.h5FBh0lc076987>
