diff options
Diffstat (limited to 'sys/dev/dgb/dgm.c')
-rw-r--r-- | sys/dev/dgb/dgm.c | 5 |
1 files changed, 3 insertions, 2 deletions
diff --git a/sys/dev/dgb/dgm.c b/sys/dev/dgb/dgm.c index 8b0ca1f..9321bb9 100644 --- a/sys/dev/dgb/dgm.c +++ b/sys/dev/dgb/dgm.c @@ -1,5 +1,5 @@ /*- - * $Id: dgm.c,v 1.5 1998/08/23 08:26:40 bde Exp $ + * $Id: dgm.c,v 1.6 1998/12/07 21:58:18 archie Exp $ * * This driver and the associated header files support the ISA PC/Xem * Digiboards. Its evolutionary roots are described below. @@ -833,7 +833,8 @@ open_top: goto open_top; } } - if (tp->t_state & TS_XCLUDE && p->p_ucred->cr_uid != 0) { + if (tp->t_state & TS_XCLUDE && + suser(p->p_ucred, &p->p_acflag)) { error = EBUSY; goto out; } |