diff options
-rw-r--r-- | sbin/fsdb/fsdbutil.c | 5 |
1 files changed, 3 insertions, 2 deletions
diff --git a/sbin/fsdb/fsdbutil.c b/sbin/fsdb/fsdbutil.c index 7ed78a7..102d45c 100644 --- a/sbin/fsdb/fsdbutil.c +++ b/sbin/fsdb/fsdbutil.c @@ -193,8 +193,9 @@ 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", DIP(dp, di_nlink), - DIP(dp, di_flags), (intmax_t)blocks, (intmax_t)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); } |