Date: Sun, 25 Jan 2004 13:36:10 +0100 From: des@des.no (Dag-Erling =?iso-8859-1?q?Sm=F8rgrav?=) To: Jeff Roberson <jeff@FreeBSD.org> Cc: cvs-all@FreeBSD.org Subject: Re: cvs commit: src/sys/kern sched_4bsd.c Message-ID: <xzpd698qk79.fsf@dwp.des.no> In-Reply-To: <200401250821.i0P8LkBC072150@repoman.freebsd.org> (Jeff Roberson's message of "Sun, 25 Jan 2004 00:21:46 -0800 (PST)") References: <200401250821.i0P8LkBC072150@repoman.freebsd.org>
next in thread | previous in thread | raw e-mail | index | archive | help
Jeff Roberson <jeff@FreeBSD.org> writes: > Log: > - Correct function names listed in KASSERTs. These were copied from o= ther > code and it was sloppy of me not to adjust these sooner. suggestions based on my experience with KASSERTs: 1) don't include the function name in panic strings as the backtrace already provides that information (and more) 2) if you must include the function name, use %s() and __func__ to avoid getting it wrong. DES --=20 Dag-Erling Sm=F8rgrav - des@des.no
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?xzpd698qk79.fsf>