summaryrefslogtreecommitdiffstats
path: root/sys/kern/tty_pty.c
diff options
context:
space:
mode:
authorjulian <julian@FreeBSD.org>1995-12-13 15:13:57 +0000
committerjulian <julian@FreeBSD.org>1995-12-13 15:13:57 +0000
commitd905b350fec038c097b2a29731ddef049bc79b80 (patch)
treef0ebb5173fc54865e90ae9881089258ea9c50611 /sys/kern/tty_pty.c
parenta9b0efbc489928e8b1df5cb2c1b948a9128932f2 (diff)
downloadFreeBSD-src-d905b350fec038c097b2a29731ddef049bc79b80.zip
FreeBSD-src-d905b350fec038c097b2a29731ddef049bc79b80.tar.gz
devsw tables are now arrays of POINTERS to struct [cb]devsw
seems to work hre just fine though I can't check every file that changed due to limmited h/w, however I've checked enught to be petty happy withe hte code.. WARNING... struct lkm[mumble] has changed so it might be an idea to recompile any lkm related programs
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 0a68bf4..593e9ca 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:
OpenPOWER on IntegriCloud