diff options
Diffstat (limited to 'sys/i386/isa/pcvt')
-rw-r--r-- | sys/i386/isa/pcvt/pcvt_ext.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/sys/i386/isa/pcvt/pcvt_ext.c b/sys/i386/isa/pcvt/pcvt_ext.c index 9e3cc44..8e72849 100644 --- a/sys/i386/isa/pcvt/pcvt_ext.c +++ b/sys/i386/isa/pcvt/pcvt_ext.c @@ -2619,7 +2619,7 @@ usl_vt_ioctl(dev_t dev, int cmd, caddr_t data, int flag, struct thread *td) error = suser_td(td); if (error != 0) return (error); - error = securelevel_gt(p->p_ucred, 0); + error = securelevel_gt(td->td_ucred, 0); if (error != 0) return (error); |