Date: Mon, 9 May 2011 07:07:19 +0000 (UTC) From: Andriy Gapon <avg@FreeBSD.org> To: src-committers@freebsd.org, svn-src-user@freebsd.org Subject: svn commit: r221680 - user/avg/xcpu/sys/kern Message-ID: <201105090707.p4977JdK080620@svn.freebsd.org>
next in thread | raw e-mail | index | archive | help
Author: avg Date: Mon May 9 07:07:18 2011 New Revision: 221680 URL: http://svn.freebsd.org/changeset/base/221680 Log: a style nit in panic() Modified: user/avg/xcpu/sys/kern/kern_shutdown.c Modified: user/avg/xcpu/sys/kern/kern_shutdown.c ============================================================================== --- user/avg/xcpu/sys/kern/kern_shutdown.c Mon May 9 07:06:34 2011 (r221679) +++ user/avg/xcpu/sys/kern/kern_shutdown.c Mon May 9 07:07:18 2011 (r221680) @@ -556,7 +556,7 @@ panic(const char *fmt, ...) bootopt = RB_AUTOBOOT | RB_DUMP; newpanic = 0; - if (panicstr) + if (panicstr != NULL) bootopt |= RB_NOSYNC; else { panicstr = fmt;
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?201105090707.p4977JdK080620>