diff options
author | Jeff Roberson <jeff@FreeBSD.org> | 2005-03-28 14:26:01 +0000 |
---|---|---|
committer | Jeff Roberson <jeff@FreeBSD.org> | 2005-03-28 14:26:01 +0000 |
commit | 654f669c9a9f15ee446b1d0cc8a1bedf4a437afd (patch) | |
tree | 867c3770b809bc4eaab8deb5e3e3e5d340c3f3f9 /sys/fs | |
parent | ea9aa09dd1f91de923dedae70ae2aa3386390b78 (diff) | |
download | src-654f669c9a9f15ee446b1d0cc8a1bedf4a437afd.tar.gz src-654f669c9a9f15ee446b1d0cc8a1bedf4a437afd.zip |
- Correct the dprintf format int the _lookup routine.
Spotted by: pjd
Notes
Notes:
svn path=/head/; revision=144230
Diffstat (limited to 'sys/fs')
-rw-r--r-- | sys/fs/hpfs/hpfs_vnops.c | 2 | ||||
-rw-r--r-- | sys/fs/ntfs/ntfs_vnops.c | 2 |
2 files changed, 2 insertions, 2 deletions
diff --git a/sys/fs/hpfs/hpfs_vnops.c b/sys/fs/hpfs/hpfs_vnops.c index 721d89170e1f..a83282724895 100644 --- a/sys/fs/hpfs/hpfs_vnops.c +++ b/sys/fs/hpfs/hpfs_vnops.c @@ -1030,7 +1030,7 @@ hpfs_lookup(ap) int error; int nameiop = cnp->cn_nameiop; int flags = cnp->cn_flags; - dprintf(("hpfs_lookup(0x%x, %s, %ld, %d): \n", + dprintf(("hpfs_lookup(0x%x, %s, %ld):\n", dhp->h_no, cnp->cn_nameptr, cnp->cn_namelen)); if (nameiop != CREATE && nameiop != DELETE && nameiop != LOOKUP) { diff --git a/sys/fs/ntfs/ntfs_vnops.c b/sys/fs/ntfs/ntfs_vnops.c index 6950a9d8c284..48db359af248 100644 --- a/sys/fs/ntfs/ntfs_vnops.c +++ b/sys/fs/ntfs/ntfs_vnops.c @@ -622,7 +622,7 @@ ntfs_lookup(ap) struct componentname *cnp = ap->a_cnp; struct ucred *cred = cnp->cn_cred; int error; - dprintf(("ntfs_lookup: \"%.*s\" (%ld bytes) in %d, wp: %d \n", + dprintf(("ntfs_lookup: \"%.*s\" (%ld bytes) in %d\n", (int)cnp->cn_namelen, cnp->cn_nameptr, cnp->cn_namelen, dip->i_number)); |