From owner-cvs-src-old@FreeBSD.ORG Tue Dec 21 18:23:33 2010 Return-Path: Delivered-To: cvs-src-old@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id CEF3A10656A4 for ; Tue, 21 Dec 2010 18:23:33 +0000 (UTC) (envelope-from mdf@FreeBSD.org) Received: from repoman.freebsd.org (repoman.freebsd.org [IPv6:2001:4f8:fff6::29]) by mx1.freebsd.org (Postfix) with ESMTP id BCF7B8FC19 for ; Tue, 21 Dec 2010 18:23:33 +0000 (UTC) Received: from repoman.freebsd.org (localhost [127.0.0.1]) by repoman.freebsd.org (8.14.4/8.14.4) with ESMTP id oBLINX7p054536 for ; Tue, 21 Dec 2010 18:23:33 GMT (envelope-from mdf@repoman.freebsd.org) Received: (from svn2cvs@localhost) by repoman.freebsd.org (8.14.4/8.14.4/Submit) id oBLINX2q054535 for cvs-src-old@freebsd.org; Tue, 21 Dec 2010 18:23:33 GMT (envelope-from mdf@repoman.freebsd.org) Message-Id: <201012211823.oBLINX2q054535@repoman.freebsd.org> X-Authentication-Warning: repoman.freebsd.org: svn2cvs set sender to mdf@repoman.freebsd.org using -f From: Matthew D Fleming Date: Tue, 21 Dec 2010 18:23:03 +0000 (UTC) To: cvs-src-old@freebsd.org X-FreeBSD-CVS-Branch: HEAD Subject: cvs commit: src/sys/kern kern_fail.c src/sys/sys fail.h X-BeenThere: cvs-src-old@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: **OBSOLETE** CVS commit messages for the src tree List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Tue, 21 Dec 2010 18:23:33 -0000 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