From becaa16e962bdea9f9021ad295d9a47e797ceaa8 Mon Sep 17 00:00:00 2001 From: markm Date: Fri, 2 Aug 2002 11:24:43 +0000 Subject: Modernise the cdevsw WRT to (unused) kqueue. --- sys/dev/null/null.c | 2 ++ 1 file changed, 2 insertions(+) diff --git a/sys/dev/null/null.c b/sys/dev/null/null.c index c82c3d0..0df9329 100644 --- a/sys/dev/null/null.c +++ b/sys/dev/null/null.c @@ -65,6 +65,7 @@ static struct cdevsw null_cdevsw = { /* dump */ nodump, /* psize */ nopsize, /* flags */ 0, + /* kqfilter */ NULL }; static struct cdevsw zero_cdevsw = { @@ -81,6 +82,7 @@ static struct cdevsw zero_cdevsw = { /* dump */ nodump, /* psize */ nopsize, /* flags */ D_MMAP_ANON, + /* kqfilter */ NULL }; static void *zbuf; -- cgit v1.1