diff options
author | Miod Vallat <miod@cvs.openbsd.org> | 2005-12-31 21:22:36 +0000 |
---|---|---|
committer | Miod Vallat <miod@cvs.openbsd.org> | 2005-12-31 21:22:36 +0000 |
commit | 73ed0e5c02f4909688a40974d9bb8086b01f22c5 (patch) | |
tree | ad16c18eb39bc329620becf40fc2564e13cf5d45 /sys/dev | |
parent | bef19611e76eddbba0c90d0f8cc136d3937de6d0 (diff) |
Split the d_type field of cdevsw entries into d_type and d_flags for clarity.
Discussed with and ok deraadt@ millert@
Diffstat (limited to 'sys/dev')
-rw-r--r-- | sys/dev/cons.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/sys/dev/cons.c b/sys/dev/cons.c index 0d2125d4453..b9130b402bf 100644 --- a/sys/dev/cons.c +++ b/sys/dev/cons.c @@ -1,4 +1,4 @@ -/* $OpenBSD: cons.c,v 1.15 2005/12/30 18:11:25 miod Exp $ */ +/* $OpenBSD: cons.c,v 1.16 2005/12/31 21:22:34 miod Exp $ */ /* $NetBSD: cons.c,v 1.30 1996/04/08 19:57:30 jonathan Exp $ */ /* @@ -240,7 +240,7 @@ cnkqfilter(dev, kn) return (1); else dev = cn_tab->cn_dev; - if (cdevsw[major(dev)].d_type & D_KQFILTER) + if (cdevsw[major(dev)].d_flags & D_KQFILTER) return ((*cdevsw[major(dev)].d_kqfilter)(dev, kn)); return (1); } |