diff options
| author | Poul-Henning Kamp <phk@FreeBSD.org> | 1999-04-27 12:21:16 +0000 |
|---|---|---|
| committer | Poul-Henning Kamp <phk@FreeBSD.org> | 1999-04-27 12:21:16 +0000 |
| commit | 1c308b817a866f9cd41dd238a709e248d021f5c1 (patch) | |
| tree | 79336e2dd626703dce5d6d8743676813a262efd2 /sys/kern/tty_cons.c | |
| parent | 618aa782bebfb0aba0c1edd72719877a244a0c48 (diff) | |
Notes
Diffstat (limited to 'sys/kern/tty_cons.c')
| -rw-r--r-- | sys/kern/tty_cons.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/sys/kern/tty_cons.c b/sys/kern/tty_cons.c index b565d5c9f569..11e6216d8d25 100644 --- a/sys/kern/tty_cons.c +++ b/sys/kern/tty_cons.c @@ -36,7 +36,7 @@ * SUCH DAMAGE. * * from: @(#)cons.c 7.2 (Berkeley) 5/9/91 - * $Id: cons.c,v 1.61 1999/01/07 14:14:11 yokota Exp $ + * $Id: cons.c,v 1.62 1999/04/27 11:14:29 phk Exp $ */ #include "opt_devfs.h" @@ -358,7 +358,7 @@ cnioctl(dev, cmd, data, flag, p) * output from the "virtual" console. */ if (cmd == TIOCCONS && constty) { - error = suser_xxx(p->p_ucred, (u_short *) NULL); + error = suser(p); if (error) return (error); constty = NULL; |
