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

the nonexistent td_pid.
This commit is contained in:
Tim J. Robbins 2002-12-13 10:25:08 +00:00
parent 11de0c59e9
commit e3e797439e
Notes: svn2git 2020-12-20 02:59:44 +00:00
svn path=/head/; revision=107822

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