aboutsummaryrefslogtreecommitdiff
path: root/sbin/fsdb/Makefile
diff options
context:
space:
mode:
authorDimitry Andric <dim@FreeBSD.org>2012-03-09 21:02:39 +0000
committerDimitry Andric <dim@FreeBSD.org>2012-03-09 21:02:39 +0000
commit24c8f29cf474e4028cb9aeb7215795fd421d72b2 (patch)
tree01a969e8f3f53d3100c58f821c62815b50284d0a /sbin/fsdb/Makefile
parent6aa83769fd1edb06e197a9f006486fe791f1c05f (diff)
downloadsrc-24c8f29cf474e4028cb9aeb7215795fd421d72b2.tar.gz
src-24c8f29cf474e4028cb9aeb7215795fd421d72b2.zip
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
Notes
Notes: svn path=/head/; revision=232749
Diffstat (limited to 'sbin/fsdb/Makefile')
-rw-r--r--sbin/fsdb/Makefile2
1 files changed, 0 insertions, 2 deletions
diff --git a/sbin/fsdb/Makefile b/sbin/fsdb/Makefile
index 5e172fd78d55..65333ef07252 100644
--- a/sbin/fsdb/Makefile
+++ b/sbin/fsdb/Makefile
@@ -9,8 +9,6 @@ SRCS= fsdb.c fsdbutil.c \
pass5.c setup.c utilities.c ffs_subr.c ffs_tables.c
CFLAGS+= -I${.CURDIR}/../fsck_ffs
WARNS?= 2
-# Work around a problem with format string warnings and ntohs macros.
-NO_WFORMAT.clang=
LDADD= -ledit -ltermcap
DPADD= ${LIBEDIT} ${LIBTERMCAP}
.PATH: ${.CURDIR}/../fsck_ffs ${.CURDIR}/../../sys/ufs/ffs