From owner-cvs-all@FreeBSD.ORG Sun Jun 15 04:43:01 2003 Return-Path: Delivered-To: cvs-all@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 41C9F37B401; Sun, 15 Jun 2003 04:43:01 -0700 (PDT) Received: from repoman.freebsd.org (repoman.freebsd.org [216.136.204.115]) by mx1.FreeBSD.org (Postfix) with ESMTP id D2EA443F93; Sun, 15 Jun 2003 04:43:00 -0700 (PDT) (envelope-from iedowse@FreeBSD.org) Received: from repoman.freebsd.org (localhost [127.0.0.1]) by repoman.freebsd.org (8.12.6/8.12.6) with ESMTP id h5FBh00U076995; Sun, 15 Jun 2003 04:43:00 -0700 (PDT) (envelope-from iedowse@repoman.freebsd.org) Received: (from iedowse@localhost) by repoman.freebsd.org (8.12.6/8.12.6/Submit) id h5FBh0lc076987; Sun, 15 Jun 2003 04:43:00 -0700 (PDT) Message-Id: <200306151143.h5FBh0lc076987@repoman.freebsd.org> From: Ian Dowse Date: Sun, 15 Jun 2003 04:43:00 -0700 (PDT) To: src-committers@FreeBSD.org, cvs-src@FreeBSD.org, cvs-all@FreeBSD.org X-FreeBSD-CVS-Branch: HEAD Subject: cvs commit: src/sys/kern kern_shutdown.c X-BeenThere: cvs-all@freebsd.org X-Mailman-Version: 2.1.1 Precedence: list List-Id: CVS commit messages for the entire tree List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sun, 15 Jun 2003 11:43:01 -0000 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