diff options
author | dim <dim@FreeBSD.org> | 2012-03-09 21:02:39 +0000 |
---|---|---|
committer | dim <dim@FreeBSD.org> | 2012-03-09 21:02:39 +0000 |
commit | 29139aa04089c8746c4b5a4dbc5061d8cb4670db (patch) | |
tree | 01a969e8f3f53d3100c58f821c62815b50284d0a /sys/kern/kern_intr.c | |
parent | d692d62069a3260289bed79af40dc1c910af8ca3 (diff) | |
download | FreeBSD-src-29139aa04089c8746c4b5a4dbc5061d8cb4670db.zip FreeBSD-src-29139aa04089c8746c4b5a4dbc5061d8cb4670db.tar.gz |
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.
MFC after: 2 weeks
Diffstat (limited to 'sys/kern/kern_intr.c')
0 files changed, 0 insertions, 0 deletions