summaryrefslogtreecommitdiffstats
path: root/sys/fs
diff options
context:
space:
mode:
authortjr <tjr@FreeBSD.org>2002-12-13 10:25:08 +0000
committertjr <tjr@FreeBSD.org>2002-12-13 10:25:08 +0000
commit81e4753c41446e473eb1cf548cafc6114cfaf8fb (patch)
tree55ae36c583f0c73416d6e043a6ac413429722d50 /sys/fs
parent99f5994bb49ce0f6ac7f141db1b8806a6dd4a164 (diff)
downloadFreeBSD-src-81e4753c41446e473eb1cf548cafc6114cfaf8fb.zip
FreeBSD-src-81e4753c41446e473eb1cf548cafc6114cfaf8fb.tar.gz
Fix build with SMB_VNODE_DEBUG defined; use td_proc->p_pid instead of
the nonexistent td_pid.
Diffstat (limited to 'sys/fs')
-rw-r--r--sys/fs/smbfs/smbfs_vnops.c3
1 files changed, 2 insertions, 1 deletions
diff --git a/sys/fs/smbfs/smbfs_vnops.c b/sys/fs/smbfs/smbfs_vnops.c
index f1fc710..0ff9319 100644
--- a/sys/fs/smbfs/smbfs_vnops.c
+++ b/sys/fs/smbfs/smbfs_vnops.c
@@ -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);
OpenPOWER on IntegriCloud