aboutsummaryrefslogtreecommitdiff
path: root/sys/dev/ofw
diff options
context:
space:
mode:
authorJohn Baldwin <jhb@FreeBSD.org>2002-04-01 21:31:13 +0000
committerJohn Baldwin <jhb@FreeBSD.org>2002-04-01 21:31:13 +0000
commit44731cab3b9966b7ca67f3fe50e7f3c711533730 (patch)
tree79021f0d43a5858be317d5cd33eac8cd4962b336 /sys/dev/ofw
parenta4a49508b4ddf1b482743f71bcd6707c9ce7b406 (diff)
Notes
Diffstat (limited to 'sys/dev/ofw')
-rw-r--r--sys/dev/ofw/ofw_console.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/sys/dev/ofw/ofw_console.c b/sys/dev/ofw/ofw_console.c
index 154f7ff4118e3..cce7fb884498c 100644
--- a/sys/dev/ofw/ofw_console.c
+++ b/sys/dev/ofw/ofw_console.c
@@ -123,7 +123,7 @@ ofw_dev_open(dev_t dev, int flag, int mode, struct thread *td)
ttsetwater(tp);
setuptimeout = 1;
- } else if ((tp->t_state & TS_XCLUDE) && suser_td(td)) {
+ } else if ((tp->t_state & TS_XCLUDE) && suser(td)) {
return (EBUSY);
}