From owner-cvs-src-old@FreeBSD.ORG Sat Feb 12 12:46:12 2011 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 DAB6D106566B for ; Sat, 12 Feb 2011 12:46:12 +0000 (UTC) (envelope-from kib@FreeBSD.org) Received: from repoman.freebsd.org (repoman.freebsd.org [IPv6:2001:4f8:fff6::29]) by mx1.freebsd.org (Postfix) with ESMTP id C86E38FC16 for ; Sat, 12 Feb 2011 12:46:12 +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 p1CCkCor004340 for ; Sat, 12 Feb 2011 12:46:12 GMT (envelope-from kib@repoman.freebsd.org) Received: (from svn2cvs@localhost) by repoman.freebsd.org (8.14.4/8.14.4/Submit) id p1CCkCNB004339 for cvs-src-old@freebsd.org; Sat, 12 Feb 2011 12:46:12 GMT (envelope-from kib@repoman.freebsd.org) Message-Id: <201102121246.p1CCkCNB004339@repoman.freebsd.org> X-Authentication-Warning: repoman.freebsd.org: svn2cvs set sender to kib@repoman.freebsd.org using -f From: Konstantin Belousov Date: Sat, 12 Feb 2011 12:46:00 +0000 (UTC) To: cvs-src-old@freebsd.org X-FreeBSD-CVS-Branch: HEAD Subject: cvs commit: src/lib/libufs libufs.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: Sat, 12 Feb 2011 12:46:12 -0000 kib 2011-02-12 12:46:00 UTC FreeBSD src repository Modified files: lib/libufs libufs.h Log: SVN rev 218601 on 2011-02-12 12:46:00Z by kib Replace ERROR() macro with inline function. In-tree gcc cannot tolerate the construct like printf("%\s", NULL) resulting from macroexpand of ERROR(u, NULL), making it impossible to use LIBUFS_DEBUGGING. With inline function, compiler cannot detect the NULL argument to known function and does not try to convert it into puts(). In collaboration with: pho Revision Changes Path 1.15 +24 -28 src/lib/libufs/libufs.h