Date: Tue, 21 Dec 2010 18:23:03 +0000 (UTC) From: Matthew D Fleming <mdf@FreeBSD.org> To: cvs-src-old@freebsd.org Subject: cvs commit: src/sys/kern kern_fail.c src/sys/sys fail.h Message-ID: <201012211823.oBLINX2q054535@repoman.freebsd.org>
index | next in thread | raw e-mail
mdf 2010-12-21 18:23:03 UTC
FreeBSD src repository
Modified files:
sys/kern kern_fail.c
sys/sys fail.h
Log:
SVN rev 216620 on 2010-12-21 18:23:03Z by mdf
Initialize fp_location for explicitly managed fail points, and push
the parentheses around the location for simple fail points into the
location string. This makes the print on fail point set more
consistent between the two versions.
Also fix up fail.h a little for style(9): only use one of sys/param.h
and sys/types.h, and use the existing __XSTRING() macro instead of
rolling our own. Also fix up a few tabs on changed and nearby lines.
Lastly, since KFAIL_POINT_{BEGIN,END} are not meant for use outside
this file, just eliminate the macros entirely.
MFC after: 1 week
Revision Changes Path
1.4 +3 -2 src/sys/kern/kern_fail.c
1.3 +31 -44 src/sys/sys/fail.h
help
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?201012211823.oBLINX2q054535>
