diff options
author | Stefan Fritsch <sf@cvs.openbsd.org> | 2013-10-01 20:22:14 +0000 |
---|---|---|
committer | Stefan Fritsch <sf@cvs.openbsd.org> | 2013-10-01 20:22:14 +0000 |
commit | 89792c68f54e47e46ddaa2996cfe21fa597cb763 (patch) | |
tree | 109a96c829012eca3e00e0e8cb9bbd3b4f452477 /sys/kern | |
parent | 78fed2d74d047c4635326003573ee6d659bea5ef (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/kern')
-rw-r--r-- | sys/kern/vfs_cluster.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/sys/kern/vfs_cluster.c b/sys/kern/vfs_cluster.c index f9df40efae0..35263ab72e5 100644 --- a/sys/kern/vfs_cluster.c +++ b/sys/kern/vfs_cluster.c @@ -1,4 +1,4 @@ -/* $OpenBSD: vfs_cluster.c,v 1.39 2013/06/11 16:42:16 deraadt Exp $ */ +/* $OpenBSD: vfs_cluster.c,v 1.40 2013/10/01 20:22:12 sf Exp $ */ /* $NetBSD: vfs_cluster.c,v 1.12 1996/04/22 01:39:05 christos Exp $ */ /* @@ -175,7 +175,7 @@ cluster_wbuild(struct vnode *vp, struct buf *last_bp, long size, #ifdef DIAGNOSTIC if (size != vp->v_mount->mnt_stat.f_iosize) - panic("cluster_wbuild: size %ld != filesize %ld", + panic("cluster_wbuild: size %ld != filesize %u", size, vp->v_mount->mnt_stat.f_iosize); #endif redo: |