- Correct the dprintf format int the _lookup routine.

Spotted by:	pjd
This commit is contained in:
jeff 2005-03-28 14:26:01 +00:00
parent 9204b88629
commit a606902861
2 changed files with 2 additions and 2 deletions

View File

@ -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) {

View File

@ -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));