summaryrefslogtreecommitdiffstats
path: root/sys/alpha/alpha/sys_machdep.c
diff options
context:
space:
mode:
Diffstat (limited to 'sys/alpha/alpha/sys_machdep.c')
-rw-r--r--sys/alpha/alpha/sys_machdep.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/sys/alpha/alpha/sys_machdep.c b/sys/alpha/alpha/sys_machdep.c
index 7f6c270..bc7bc02 100644
--- a/sys/alpha/alpha/sys_machdep.c
+++ b/sys/alpha/alpha/sys_machdep.c
@@ -114,7 +114,7 @@ alpha_sethae(struct thread *td, char *args)
if (error)
return (error);
- error = securelevel_gt(td->td_proc->p_ucred, 0);
+ error = securelevel_gt(td->td_ucred, 0);
if (error)
return (error);
OpenPOWER on IntegriCloud