diff options
author | phk <phk@FreeBSD.org> | 1999-04-27 12:21:16 +0000 |
---|---|---|
committer | phk <phk@FreeBSD.org> | 1999-04-27 12:21:16 +0000 |
commit | c85ea5017c00c71172e6cfb5bd1cd171837b5812 (patch) | |
tree | aca6b1fc91e0bab42a5779a3281ed2200865e0ec /sys/kern/tty_cons.c | |
parent | a6d35492b341c0b95e74bb23a0f1d29bdf6b9fa5 (diff) | |
download | FreeBSD-src-c85ea5017c00c71172e6cfb5bd1cd171837b5812.zip FreeBSD-src-c85ea5017c00c71172e6cfb5bd1cd171837b5812.tar.gz |
Change suser_xxx() to suser() where it applies.
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 b565d5c..11e6216 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; |