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/alpha | |
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/alpha')
-rw-r--r-- | sys/alpha/alpha/cons.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/sys/alpha/alpha/cons.c b/sys/alpha/alpha/cons.c index d25c010..8e934ff 100644 --- a/sys/alpha/alpha/cons.c +++ b/sys/alpha/alpha/cons.c @@ -36,7 +36,7 @@ * SUCH DAMAGE. * * from: @(#)cons.c 7.2 (Berkeley) 5/9/91 - * $Id: cons.c,v 1.3 1998/12/09 02:26:45 eivind Exp $ + * $Id: cons.c,v 1.4 1999/04/27 11:13:16 phk Exp $ */ #include "opt_devfs.h" @@ -368,7 +368,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; |