From 6bb276a1685d8546283d224a3d249c66cc329264 Mon Sep 17 00:00:00 2001 From: "Todd C. Miller" Date: Tue, 23 Sep 2003 16:51:15 +0000 Subject: Replace select backends with poll backends. selscan() and pollscan() now call the poll backend. With this change we implement greater poll(2) functionality instead of emulating it via the select backend. Adapted from NetBSD and including some changes from FreeBSD. Tested by many, deraadt@ OK --- sys/dev/wscons/wsmux.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'sys/dev/wscons/wsmux.c') diff --git a/sys/dev/wscons/wsmux.c b/sys/dev/wscons/wsmux.c index 5d745573dae..a6af8aff3f6 100644 --- a/sys/dev/wscons/wsmux.c +++ b/sys/dev/wscons/wsmux.c @@ -1,4 +1,4 @@ -/* $OpenBSD: wsmux.c,v 1.10 2002/10/12 01:09:44 krw Exp $ */ +/* $OpenBSD: wsmux.c,v 1.11 2003/09/23 16:51:12 millert Exp $ */ /* $NetBSD: wsmux.c,v 1.9 2000/05/28 10:33:14 takemura Exp $ */ /* @@ -294,7 +294,7 @@ wsmuxioctl(dev, cmd, data, flag, p) } int -wsmuxselect(dev, events, p) +wsmuxpoll(dev, events, p) dev_t dev; int events; struct proc *p; -- cgit v1.2.3