diff options
| author | John Baldwin <jhb@FreeBSD.org> | 2002-03-26 18:01:38 +0000 |
|---|---|---|
| committer | John Baldwin <jhb@FreeBSD.org> | 2002-03-26 18:01:38 +0000 |
| commit | c145dd8340d356170eaf5ae39201f9e0ca5f4129 (patch) | |
| tree | 3431582bfa6a178cd6763dadf532bfdf2bdb4ebd /sys/dev/digi | |
| parent | 85554bf8ff27bc076a2ca206dc29c1823c32efc8 (diff) | |
Notes
Diffstat (limited to 'sys/dev/digi')
| -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 6b92a35360fb..2f069c53f4b6 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; } |
