diff options
| author | John Baldwin <jhb@FreeBSD.org> | 2002-04-01 21:31:13 +0000 |
|---|---|---|
| committer | John Baldwin <jhb@FreeBSD.org> | 2002-04-01 21:31:13 +0000 |
| commit | 44731cab3b9966b7ca67f3fe50e7f3c711533730 (patch) | |
| tree | 79021f0d43a5858be317d5cd33eac8cd4962b336 /sys/dev/syscons/sysmouse.c | |
| parent | a4a49508b4ddf1b482743f71bcd6707c9ce7b406 (diff) | |
Notes
Diffstat (limited to 'sys/dev/syscons/sysmouse.c')
| -rw-r--r-- | sys/dev/syscons/sysmouse.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/sys/dev/syscons/sysmouse.c b/sys/dev/syscons/sysmouse.c index 80eac8e5d8a4..310052a49eca 100644 --- a/sys/dev/syscons/sysmouse.c +++ b/sys/dev/syscons/sysmouse.c @@ -99,7 +99,7 @@ smopen(dev_t dev, int flag, int mode, struct thread *td) tp->t_ispeed = tp->t_ospeed = TTYDEF_SPEED; smparam(tp, &tp->t_termios); (*linesw[tp->t_line].l_modem)(tp, 1); - } else if (tp->t_state & TS_XCLUDE && suser_td(td)) { + } else if (tp->t_state & TS_XCLUDE && suser(td)) { return EBUSY; } |
