Date: Sat, 12 Feb 2011 12:46:00 +0000 (UTC) From: Konstantin Belousov <kib@FreeBSD.org> To: cvs-src-old@freebsd.org Subject: cvs commit: src/lib/libufs libufs.h Message-ID: <201102121246.p1CCkCNB004339@repoman.freebsd.org>
next in thread | raw e-mail | index | archive | help
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
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?201102121246.p1CCkCNB004339>
