diff options
-rw-r--r-- | sys/dev/digi/digi.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/sys/dev/digi/digi.c b/sys/dev/digi/digi.c index 6b92a35..2f069c5 100644 --- a/sys/dev/digi/digi.c +++ b/sys/dev/digi/digi.c @@ -783,7 +783,7 @@ open_top: } goto open_top; } - if (tp->t_state & TS_XCLUDE && td->td_proc->p_ucred->cr_uid != 0) { + if (tp->t_state & TS_XCLUDE && suser(td->td_proc) != 0) { error = EBUSY; goto out; } |