summaryrefslogtreecommitdiff
path: root/sys/kern/tty_tty.c
diff options
context:
space:
mode:
authorJohn Baldwin <jhb@FreeBSD.org>2002-02-27 18:32:23 +0000
committerJohn Baldwin <jhb@FreeBSD.org>2002-02-27 18:32:23 +0000
commita854ed98931b2e365eddd24cd2a1bb53a3f1828f (patch)
treede74317436bc6bf8211535e1dbda3f6762d05582 /sys/kern/tty_tty.c
parent65e3406d28b159fab93b499d25ed079b2c978ff7 (diff)
Notes
Diffstat (limited to 'sys/kern/tty_tty.c')
-rw-r--r--sys/kern/tty_tty.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/sys/kern/tty_tty.c b/sys/kern/tty_tty.c
index 931da01aec70..ebb91a44ca50 100644
--- a/sys/kern/tty_tty.c
+++ b/sys/kern/tty_tty.c
@@ -210,7 +210,7 @@ cttypoll(dev, events, td)
if (ttyvp == NULL)
/* try operation to get EOF/failure */
return (seltrue(dev, events, td));
- return (VOP_POLL(ttyvp, events, td->td_proc->p_ucred, td));
+ return (VOP_POLL(ttyvp, events, td->td_ucred, td));
}
static void ctty_clone __P((void *arg, char *name, int namelen, dev_t *dev));