diff options
Diffstat (limited to 'sys/arch/sparc/dev/magma.c')
-rw-r--r-- | sys/arch/sparc/dev/magma.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/sys/arch/sparc/dev/magma.c b/sys/arch/sparc/dev/magma.c index e5f91cf9f06..60c457aa1bd 100644 --- a/sys/arch/sparc/dev/magma.c +++ b/sys/arch/sparc/dev/magma.c @@ -1,4 +1,4 @@ -/* $OpenBSD: magma.c,v 1.14 2003/02/11 19:20:26 mickey Exp $ */ +/* $OpenBSD: magma.c,v 1.15 2003/08/15 20:32:14 tedu Exp $ */ /* * magma.c * @@ -1110,7 +1110,7 @@ int error; break; case TIOCSFLAGS: - if( suser(p->p_ucred, &p->p_acflag) ) + if( suser(p, 0) ) error = EPERM; else mp->mp_openflags = *((int *)data) & |