summaryrefslogtreecommitdiffstats
path: root/sys/alpha
diff options
context:
space:
mode:
Diffstat (limited to 'sys/alpha')
-rw-r--r--sys/alpha/osf1/osf1_mount.c6
1 files changed, 3 insertions, 3 deletions
diff --git a/sys/alpha/osf1/osf1_mount.c b/sys/alpha/osf1/osf1_mount.c
index 9205f99..913bdcc 100644
--- a/sys/alpha/osf1/osf1_mount.c
+++ b/sys/alpha/osf1/osf1_mount.c
@@ -134,7 +134,7 @@ osf1_statfs(td, uap)
sp = &mp->mnt_stat;
vrele(nd.ni_vp);
#ifdef MAC
- error = mac_check_mount_stat(td->td_proc->p_ucred, mp);
+ error = mac_check_mount_stat(td->td_ucred, mp);
if (error)
return (error);
#endif
@@ -161,7 +161,7 @@ osf1_fstatfs(td, uap)
return (error);
mp = ((struct vnode *)fp->f_data)->v_mount;
#ifdef MAC
- error = mac_check_mount_stat(td->td_proc->p_ucred, mp);
+ error = mac_check_mount_stat(td->td_ucred, mp);
if (error) {
fdrop(fp, td);
return (error);
@@ -198,7 +198,7 @@ osf1_getfsstat(td, uap)
nmp = TAILQ_NEXT(mp, mnt_list);
if (osf_sfsp && count < maxcount) {
#ifdef MAC
- error = mac_check_mount_stat(td->td_proc->p_ucred, mp);
+ error = mac_check_mount_stat(td->td_ucred, mp);
if (error)
continue;
#endif
OpenPOWER on IntegriCloud