diff options
Diffstat (limited to 'sys/arch/mvme68k/dev/wl.c')
-rw-r--r-- | sys/arch/mvme68k/dev/wl.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/sys/arch/mvme68k/dev/wl.c b/sys/arch/mvme68k/dev/wl.c index 054af37a9f8..051cfc23d79 100644 --- a/sys/arch/mvme68k/dev/wl.c +++ b/sys/arch/mvme68k/dev/wl.c @@ -1,4 +1,4 @@ -/* $OpenBSD: wl.c,v 1.11 2003/06/03 21:09:01 deraadt Exp $ */ +/* $OpenBSD: wl.c,v 1.12 2003/08/15 20:32:14 tedu Exp $ */ /* * Copyright (c) 1995 Dale Rahn. All rights reserved. @@ -789,7 +789,7 @@ wlioctl(dev, cmd, data, flag, p) *(int *)data = cl->cl_swflags; break; case TIOCSFLAGS: - error = suser(p->p_ucred, &p->p_acflag); + error = suser(p, 0); if (error != 0) return(EPERM); |