diff options
author | Michael Shalayeff <mickey@cvs.openbsd.org> | 2003-07-22 01:03:13 +0000 |
---|---|---|
committer | Michael Shalayeff <mickey@cvs.openbsd.org> | 2003-07-22 01:03:13 +0000 |
commit | e68395b2a10db2e6c75ef05f220b36118095529d (patch) | |
tree | 8213ced33fdcb5d50d5d6b3f4447a3f6547b47da /sys/kern | |
parent | 6f309b66c2fb4b8235b5d4bfec25418cdaf47fb6 (diff) |
make it compile again damnit; from slash@peereboom.us
Diffstat (limited to 'sys/kern')
-rw-r--r-- | sys/kern/tty_pty.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/sys/kern/tty_pty.c b/sys/kern/tty_pty.c index c164df69e4d..7cbb13a523a 100644 --- a/sys/kern/tty_pty.c +++ b/sys/kern/tty_pty.c @@ -1,4 +1,4 @@ -/* $OpenBSD: tty_pty.c,v 1.13 2003/07/21 22:44:50 tedu Exp $ */ +/* $OpenBSD: tty_pty.c,v 1.14 2003/07/22 01:03:12 mickey Exp $ */ /* $NetBSD: tty_pty.c,v 1.33.4.1 1996/06/02 09:08:11 mrg Exp $ */ /* @@ -642,7 +642,7 @@ ptckqfilter(dev_t dev, struct knote *kn) return (1); } - kn->kn_hook = pti; + kn->kn_hook = (caddr_t)pti; s = spltty(); SLIST_INSERT_HEAD(klist, kn, kn_selnext); |