mirror of
https://git.FreeBSD.org/src.git
synced 2025-01-29 16:44:03 +00:00
- Correct the dprintf format int the _lookup routine.
Spotted by: pjd
This commit is contained in:
parent
ea9aa09dd1
commit
654f669c9a
Notes:
svn2git
2020-12-20 02:59:44 +00:00
svn path=/head/; revision=144230
@ -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) {
|
||||
|
@ -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));
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user