diff options
Diffstat (limited to 'sys/arch/hp300/dev/dca.c')
-rw-r--r-- | sys/arch/hp300/dev/dca.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/sys/arch/hp300/dev/dca.c b/sys/arch/hp300/dev/dca.c index 97c037d3fa3..922e427ecb1 100644 --- a/sys/arch/hp300/dev/dca.c +++ b/sys/arch/hp300/dev/dca.c @@ -1,4 +1,4 @@ -/* $OpenBSD: dca.c,v 1.16 2003/06/02 23:27:44 millert Exp $ */ +/* $OpenBSD: dca.c,v 1.17 2003/08/15 20:32:12 tedu Exp $ */ /* $NetBSD: dca.c,v 1.35 1997/05/05 20:58:18 thorpej Exp $ */ /* @@ -733,7 +733,7 @@ dcaioctl(dev, cmd, data, flag, p) case TIOCSFLAGS: { int userbits; - error = suser(p->p_ucred, &p->p_acflag); + error = suser(p, 0); if (error) return (EPERM); |