- Correct the dprintf format int the _lookup routine.
Spotted by: pjd
This commit is contained in:
parent
9204b88629
commit
a606902861
@ -1030,7 +1030,7 @@ hpfs_lookup(ap)
|
|||||||
int error;
|
int error;
|
||||||
int nameiop = cnp->cn_nameiop;
|
int nameiop = cnp->cn_nameiop;
|
||||||
int flags = cnp->cn_flags;
|
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));
|
dhp->h_no, cnp->cn_nameptr, cnp->cn_namelen));
|
||||||
|
|
||||||
if (nameiop != CREATE && nameiop != DELETE && nameiop != LOOKUP) {
|
if (nameiop != CREATE && nameiop != DELETE && nameiop != LOOKUP) {
|
||||||
|
@ -622,7 +622,7 @@ ntfs_lookup(ap)
|
|||||||
struct componentname *cnp = ap->a_cnp;
|
struct componentname *cnp = ap->a_cnp;
|
||||||
struct ucred *cred = cnp->cn_cred;
|
struct ucred *cred = cnp->cn_cred;
|
||||||
int error;
|
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,
|
(int)cnp->cn_namelen, cnp->cn_nameptr, cnp->cn_namelen,
|
||||||
dip->i_number));
|
dip->i_number));
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user