diff options
Diffstat (limited to 'sys/netsmb/smb_smb.c')
| -rw-r--r-- | sys/netsmb/smb_smb.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/sys/netsmb/smb_smb.c b/sys/netsmb/smb_smb.c index 0f3179d38c56..242b9417faf7 100644 --- a/sys/netsmb/smb_smb.c +++ b/sys/netsmb/smb_smb.c @@ -74,7 +74,7 @@ static struct smb_dialect smb_dialects[] = { static int smb_smb_nomux(struct smb_vc *vcp, struct smb_cred *scred, const char *name) { - if (scred->scr_p == vcp->vc_iod->iod_p) + if (scred->scr_td->td_proc == vcp->vc_iod->iod_p) return 0; SMBERROR("wrong function called(%s)\n", name); return EINVAL; |
