Fix build with SMB_VNODE_DEBUG defined; use td_proc->p_pid instead of

the nonexistent td_pid.
This commit is contained in:
tjr 2002-12-13 10:25:08 +00:00
parent 99f5994bb4
commit 81e4753c41

View File

@ -252,7 +252,8 @@ smbfs_closel(struct vop_close_args *ap)
struct vattr vattr;
int error;
SMBVDEBUG("name=%s, pid=%d, c=%d\n",np->n_name, td->td_pid, np->n_opencount);
SMBVDEBUG("name=%s, pid=%d, c=%d\n", np->n_name, td->td_proc->p_pid,
np->n_opencount);
smb_makescred(&scred, td, ap->a_cred);