diff options
author | julian <julian@FreeBSD.org> | 1995-12-13 15:13:57 +0000 |
---|---|---|
committer | julian <julian@FreeBSD.org> | 1995-12-13 15:13:57 +0000 |
commit | d905b350fec038c097b2a29731ddef049bc79b80 (patch) | |
tree | f0ebb5173fc54865e90ae9881089258ea9c50611 /sys/kern/tty_snoop.c | |
parent | a9b0efbc489928e8b1df5cb2c1b948a9128932f2 (diff) | |
download | FreeBSD-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_snoop.c')
-rw-r--r-- | sys/kern/tty_snoop.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/sys/kern/tty_snoop.c b/sys/kern/tty_snoop.c index 8f6a33e..36d08d7 100644 --- a/sys/kern/tty_snoop.c +++ b/sys/kern/tty_snoop.c @@ -65,7 +65,7 @@ devtotty (dev) if (major(dev) > nchrdev) return (NULL); /* no such device available */ - return (*cdevsw[major(dev)].d_devtotty)(dev); + return (*cdevsw[major(dev)]->d_devtotty)(dev); } #define SNP_INPUT_BUF 5 /* This is even too much,the maximal |