summaryrefslogtreecommitdiff
path: root/sys/kern/tty_pty.c
diff options
context:
space:
mode:
authorJulian Elischer <julian@FreeBSD.org>1995-12-13 15:13:57 +0000
committerJulian Elischer <julian@FreeBSD.org>1995-12-13 15:13:57 +0000
commit6ba9ebce283ead4333eec1c2831e3ca1ed4b57cc (patch)
treef0ebb5173fc54865e90ae9881089258ea9c50611 /sys/kern/tty_pty.c
parent8300a61f5aa81dd76b22b5a500c91e0411a060fc (diff)
Notes
Diffstat (limited to 'sys/kern/tty_pty.c')
-rw-r--r--sys/kern/tty_pty.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/sys/kern/tty_pty.c b/sys/kern/tty_pty.c
index 0a68bf44ad44..593e9caadace 100644
--- a/sys/kern/tty_pty.c
+++ b/sys/kern/tty_pty.c
@@ -31,7 +31,7 @@
* SUCH DAMAGE.
*
* @(#)tty_pty.c 8.2 (Berkeley) 9/23/93
- * $Id: tty_pty.c,v 1.30 1995/12/08 23:21:34 phk Exp $
+ * $Id: tty_pty.c,v 1.31 1995/12/10 15:55:17 bde Exp $
*/
/*
@@ -647,7 +647,7 @@ ptyioctl(dev, cmd, data, flag, p)
}
return(0);
} else
- if (cdevsw[major(dev)].d_open == ptcopen)
+ if (cdevsw[major(dev)]->d_open == ptcopen)
switch (cmd) {
case TIOCGPGRP: