summaryrefslogtreecommitdiffstats
path: root/sbin/fsdb
diff options
context:
space:
mode:
authorfcambus <fcambus@openbsd.org>2017-07-29 21:14:56 +0000
committerfcambus <fcambus@openbsd.org>2017-07-29 21:14:56 +0000
commit6630c2113de7ab39d01f6710de08e3ed75b2a5c7 (patch)
tree99c858ce28c91162f8ffba71aa0dadee5e61b79a /sbin/fsdb
parentDocument that builtins for certain malloc(3)-like and free(3)-like (diff)
downloadwireguard-openbsd-6630c2113de7ab39d01f6710de08e3ed75b2a5c7.tar.xz
wireguard-openbsd-6630c2113de7ab39d01f6710de08e3ed75b2a5c7.zip
Remove erroneous h length modifier, the argument has type 'int'.
OK deraadt@
Diffstat (limited to 'sbin/fsdb')
-rw-r--r--sbin/fsdb/fsdbutil.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/sbin/fsdb/fsdbutil.c b/sbin/fsdb/fsdbutil.c
index eebe7e2cf72..b0c6fe2c80a 100644
--- a/sbin/fsdb/fsdbutil.c
+++ b/sbin/fsdb/fsdbutil.c
@@ -1,4 +1,4 @@
-/* $OpenBSD: fsdbutil.c,v 1.17 2015/01/20 18:22:21 deraadt Exp $ */
+/* $OpenBSD: fsdbutil.c,v 1.18 2017/07/29 21:14:56 fcambus Exp $ */
/* $NetBSD: fsdbutil.c,v 1.5 1996/09/28 19:30:37 christos Exp $ */
/*-
@@ -148,7 +148,7 @@ printstat(const char *cp, ino_t inum, union dinode *dp)
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));
}