diff options
Diffstat (limited to 'sys/kern/subr_log.c')
-rw-r--r-- | sys/kern/subr_log.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/sys/kern/subr_log.c b/sys/kern/subr_log.c index ae0a2a8eaf9..da8704c042e 100644 --- a/sys/kern/subr_log.c +++ b/sys/kern/subr_log.c @@ -1,4 +1,4 @@ -/* $OpenBSD: subr_log.c,v 1.18 2014/01/21 01:48:44 tedu Exp $ */ +/* $OpenBSD: subr_log.c,v 1.19 2014/03/30 21:54:48 guenther Exp $ */ /* $NetBSD: subr_log.c,v 1.11 1996/03/30 22:24:44 christos Exp $ */ /* @@ -296,7 +296,7 @@ logioctl(dev_t dev, u_long com, caddr_t data, int flag, struct proc *p) case TIOCSPGRP: logsoftc.sc_pgid = *(int *)data; - logsoftc.sc_siguid = p->p_cred->p_ruid; + logsoftc.sc_siguid = p->p_ucred->cr_ruid; logsoftc.sc_sigeuid = p->p_ucred->cr_uid; break; |