From c1c4d0e9a8a79f744ea5f316ffc303ee3ff06b57 Mon Sep 17 00:00:00 2001 From: Conrad Meyer Date: Wed, 18 Nov 2020 20:20:03 +0000 Subject: [PATCH] msdosfs(5): Fix debug-only format string No functional change; MSDOSFS_DEBUG isn't a real build option, so this isn't covered by LINT kernels. --- sys/fs/msdosfs/msdosfs_vfsops.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/sys/fs/msdosfs/msdosfs_vfsops.c b/sys/fs/msdosfs/msdosfs_vfsops.c index 40da41aa7469..2252831003a2 100644 --- a/sys/fs/msdosfs/msdosfs_vfsops.c +++ b/sys/fs/msdosfs/msdosfs_vfsops.c @@ -792,7 +792,7 @@ msdosfs_unmount(struct mount *mp, int mntflags) printf("freef %p, freeb %p, mount %p\n", TAILQ_NEXT(vp, v_vnodelist), vp->v_vnodelist.tqe_prev, vp->v_mount); - printf("cleanblkhd %p, dirtyblkhd %p, numoutput %ld, type %d\n", + printf("cleanblkhd %p, dirtyblkhd %p, numoutput %d, type %d\n", TAILQ_FIRST(&vp->v_bufobj.bo_clean.bv_hd), TAILQ_FIRST(&vp->v_bufobj.bo_dirty.bv_hd), vp->v_bufobj.bo_numoutput, vp->v_type);