mirror of
https://github.com/freebsd/freebsd-src
synced 2024-09-16 06:52:27 +00:00
msdosfs: fix debug print format and parameter
Building with -DMSDOSFS_DEBUG failed due to a format mismatch and a variable that has been renamed but not updated in the printf() parameter list. MFC after: 1 month
This commit is contained in:
parent
d936c29ec0
commit
2d8cf575d5
|
@ -110,7 +110,7 @@ deget(struct msdosfsmount *pmp, u_long dirclust, u_long diroffset,
|
|||
#ifdef MSDOSFS_DEBUG
|
||||
printf("deget(pmp %p, dirclust %lu, diroffset %lx, flags %#x, "
|
||||
"depp %p)\n",
|
||||
pmp, dirclust, diroffset, flags, depp);
|
||||
pmp, dirclust, diroffset, lkflags, depp);
|
||||
#endif
|
||||
MPASS((lkflags & LK_TYPE_MASK) == LK_EXCLUSIVE);
|
||||
|
||||
|
|
|
@ -335,7 +335,7 @@ msdosfs_lookup_ino(struct vnode *vdp, struct vnode **vpp, struct componentname
|
|||
continue;
|
||||
}
|
||||
#ifdef MSDOSFS_DEBUG
|
||||
printf("msdosfs_lookup(): match blkoff %d, diroff %d\n",
|
||||
printf("msdosfs_lookup(): match blkoff %lu, diroff %d\n",
|
||||
blkoff, diroff);
|
||||
#endif
|
||||
/*
|
||||
|
|
Loading…
Reference in a new issue