mirror of
https://github.com/freebsd/freebsd-src
synced 2024-09-06 09:10:28 +00:00
Revert r228603, and add the workaround to sbin/fsdb/Makefile instead.
MFC after: 1 week
This commit is contained in:
parent
7f106882fe
commit
cf2cbe3458
Notes:
svn2git
2020-12-20 02:59:44 +00:00
svn path=/head/; revision=228693
|
@ -9,6 +9,10 @@ SRCS= fsdb.c fsdbutil.c \
|
|||
pass5.c setup.c utilities.c ffs_subr.c ffs_tables.c
|
||||
CFLAGS+= -I${.CURDIR}/../fsck_ffs
|
||||
WARNS?= 2
|
||||
.if ${CC:T:Mclang} == "clang"
|
||||
# Work around a problem with format string warnings and ntohs macros.
|
||||
NO_WFORMAT=
|
||||
.endif
|
||||
LDADD= -ledit -ltermcap
|
||||
DPADD= ${LIBEDIT} ${LIBTERMCAP}
|
||||
.PATH: ${.CURDIR}/../fsck_ffs ${.CURDIR}/../../sys/ufs/ffs
|
||||
|
|
|
@ -193,9 +193,8 @@ printstat(const char *cp, ino_t inum, union dinode *dp)
|
|||
|
||||
blocks = DIP(dp, di_blocks);
|
||||
gen = DIP(dp, di_gen);
|
||||
printf("LINKCNT=%hd FLAGS=%#x BLKCNT=%jx GEN=%jx\n",
|
||||
(short)DIP(dp, di_nlink), DIP(dp, di_flags), (intmax_t)blocks,
|
||||
(intmax_t)gen);
|
||||
printf("LINKCNT=%hd FLAGS=%#x BLKCNT=%jx GEN=%jx\n", DIP(dp, di_nlink),
|
||||
DIP(dp, di_flags), (intmax_t)blocks, (intmax_t)gen);
|
||||
}
|
||||
|
||||
|
||||
|
|
Loading…
Reference in a new issue