summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authornicm <nicm@openbsd.org>2011-07-03 18:11:52 +0000
committernicm <nicm@openbsd.org>2011-07-03 18:11:52 +0000
commit3a380952ee79f97d6b6bd1e289f311d4757c099a (patch)
tree5dc3c9e42af520962208d80f8ea17a6601aee9e6
parentFix return values of wsdisplaykqfilter and move some code so it matches (diff)
downloadwireguard-openbsd-3a380952ee79f97d6b6bd1e289f311d4757c099a.tar.xz
wireguard-openbsd-3a380952ee79f97d6b6bd1e289f311d4757c099a.zip
wsdisplay should use wsdisplaypoll not ttpoll.
ok miod deraadt
-rw-r--r--sys/sys/conf.h4
1 files changed, 2 insertions, 2 deletions
diff --git a/sys/sys/conf.h b/sys/sys/conf.h
index 0e9a329b458..1cdbb8d1e60 100644
--- a/sys/sys/conf.h
+++ b/sys/sys/conf.h
@@ -1,4 +1,4 @@
-/* $OpenBSD: conf.h,v 1.111 2011/06/27 04:57:36 matthew Exp $ */
+/* $OpenBSD: conf.h,v 1.112 2011/07/03 18:11:52 nicm Exp $ */
/* $NetBSD: conf.h,v 1.33 1996/05/03 20:03:32 christos Exp $ */
/*-
@@ -382,7 +382,7 @@ extern struct cdevsw cdevsw[];
#define cdev_wsdisplay_init(c,n) { \
dev_init(c,n,open), dev_init(c,n,close), dev_init(c,n,read), \
dev_init(c,n,write), dev_init(c,n,ioctl), dev_init(c,n,stop), \
- dev_init(c,n,tty), ttpoll, dev_init(c,n,mmap), \
+ dev_init(c,n,tty), dev_init(c,n,poll), dev_init(c,n,mmap), \
0, D_KQFILTER, dev_init(c,n,kqfilter) }
/* open, close, read, write, ioctl, poll, kqfilter */