Hi tech@,

Remove erroneous h length modifier, the argument has type 'int'.

Comments? OK?

Index: sbin/fsdb/fsdbutil.c
===================================================================
RCS file: /cvs/src/sbin/fsdb/fsdbutil.c,v
retrieving revision 1.17
diff -u -p -r1.17 fsdbutil.c
--- sbin/fsdb/fsdbutil.c        20 Jan 2015 18:22:21 -0000      1.17
+++ sbin/fsdb/fsdbutil.c        28 Jul 2017 17:34:32 -0000
@@ -148,7 +148,7 @@ printstat(const char *cp, ino_t inum, un
        else
                printf("GID=%u ", DIP(dp, di_gid));
 
-       printf("LINKCNT=%hd FLAGS=%#x BLKCNT=%x GEN=%x\n", DIP(dp, di_nlink),
+       printf("LINKCNT=%d FLAGS=%#x BLKCNT=%x GEN=%x\n", DIP(dp, di_nlink),
            DIP(dp, di_flags), (unsigned)DIP(dp, di_blocks), DIP(dp, di_gen));
 }
 

Reply via email to