summaryrefslogtreecommitdiff
path: root/sys/msdosfs/msdosfs_vnops.c
diff options
context:
space:
mode:
authorStefan Fritsch <sf@cvs.openbsd.org>2013-10-01 20:22:14 +0000
committerStefan Fritsch <sf@cvs.openbsd.org>2013-10-01 20:22:14 +0000
commit89792c68f54e47e46ddaa2996cfe21fa597cb763 (patch)
tree109a96c829012eca3e00e0e8cb9bbd3b4f452477 /sys/msdosfs/msdosfs_vnops.c
parent78fed2d74d047c4635326003573ee6d659bea5ef (diff)
Format string fixes: %hu/%hd for uint16_t, %u/%d/%x for uint32_t
- despite the name, ntohl returns uint32_t, not long - also fix some %d into %u
Diffstat (limited to 'sys/msdosfs/msdosfs_vnops.c')
-rw-r--r--sys/msdosfs/msdosfs_vnops.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/sys/msdosfs/msdosfs_vnops.c b/sys/msdosfs/msdosfs_vnops.c
index 23f61e343c9..0cd3f8736f7 100644
--- a/sys/msdosfs/msdosfs_vnops.c
+++ b/sys/msdosfs/msdosfs_vnops.c
@@ -1,4 +1,4 @@
-/* $OpenBSD: msdosfs_vnops.c,v 1.89 2013/09/14 02:28:03 guenther Exp $ */
+/* $OpenBSD: msdosfs_vnops.c,v 1.90 2013/10/01 20:22:13 sf Exp $ */
/* $NetBSD: msdosfs_vnops.c,v 1.63 1997/10/17 11:24:19 ws Exp $ */
/*-
@@ -1821,7 +1821,7 @@ msdosfs_print(void *v)
struct denode *dep = VTODE(ap->a_vp);
printf(
- "tag VT_MSDOSFS, startcluster %ld, dircluster %ld, diroffset %ld ",
+ "tag VT_MSDOSFS, startcluster %u, dircluster %u, diroffset %u ",
dep->de_StartCluster, dep->de_dirclust, dep->de_diroffset);
printf(" dev %d, %d, %s\n",
major(dep->de_dev), minor(dep->de_dev),