]> CyberLeo.Net >> Repos - FreeBSD/stable/9.git/commit
MFC r232749:
authordim <dim@ccf9f872-aa2e-dd11-9fc8-001c23d0bc1f>
Fri, 23 Mar 2012 11:01:04 +0000 (11:01 +0000)
committerdim <dim@ccf9f872-aa2e-dd11-9fc8-001c23d0bc1f>
Fri, 23 Mar 2012 11:01:04 +0000 (11:01 +0000)
commit4f1e09e2d012aee92aa2836439f1307fd3eda46c
tree58dc43e20c6e40199f1fbdb96fe8ef7e40537fcd
parent7827196ae3e00b1bf454cc57072d61bd27a1a5ad
MFC r232749:

Partially undo r228693, by removing NO_WFORMAT.clang in fsdb's Makefile,
and fixing the format string in sbin/fsdb/fsdbutil.c instead.

Note the remark "Work around a problem with format string warnings and
ntohs macros" was actually incorrect.  The DIP(dp, di_nlink) macro
invocation actually returned an int, due to its ternary expression, even
though the di_nlink members of struct ufs1_dinode and struct ufs2_dinode
are both defined as int16_t.

git-svn-id: svn://svn.freebsd.org/base/stable/9@233351 ccf9f872-aa2e-dd11-9fc8-001c23d0bc1f
sbin/fsdb/Makefile
sbin/fsdb/fsdbutil.c