diff options
author | jeff <jeff@FreeBSD.org> | 2005-03-28 14:26:01 +0000 |
---|---|---|
committer | jeff <jeff@FreeBSD.org> | 2005-03-28 14:26:01 +0000 |
commit | 4084503aa0661ec56a1210075613cb93b1f6e762 (patch) | |
tree | 867c3770b809bc4eaab8deb5e3e3e5d340c3f3f9 /sys/fs | |
parent | a5324b331dc9d9f9a7f1eb79d9c301fee19e8f28 (diff) | |
download | FreeBSD-src-4084503aa0661ec56a1210075613cb93b1f6e762.zip FreeBSD-src-4084503aa0661ec56a1210075613cb93b1f6e762.tar.gz |
- Correct the dprintf format int the _lookup routine.
Spotted by: pjd
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 721d891..a832827 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 6950a9d..48db359 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)); |