diff options
author | phk <phk@FreeBSD.org> | 2003-03-03 16:24:47 +0000 |
---|---|---|
committer | phk <phk@FreeBSD.org> | 2003-03-03 16:24:47 +0000 |
commit | b67232b68cdcbb54dc3a2311609828aced7ecc25 (patch) | |
tree | 882ecd3451f5d9cf0721da1f4041961ac8528fe7 /sys/pc98 | |
parent | 8b25734b0597b951f2979117d6d4848fbca61813 (diff) | |
download | FreeBSD-src-b67232b68cdcbb54dc3a2311609828aced7ecc25.zip FreeBSD-src-b67232b68cdcbb54dc3a2311609828aced7ecc25.tar.gz |
Make nokqfilter() return the correct return value.
Ditch the D_KQFILTER flag which was used to prevent calling NULL pointers.
Diffstat (limited to 'sys/pc98')
-rw-r--r-- | sys/pc98/cbus/sio.c | 2 | ||||
-rw-r--r-- | sys/pc98/pc98/sio.c | 2 | ||||
-rw-r--r-- | sys/pc98/pc98/syscons.c | 2 |
3 files changed, 3 insertions, 3 deletions
diff --git a/sys/pc98/cbus/sio.c b/sys/pc98/cbus/sio.c index 3ec2bee..1dc212b 100644 --- a/sys/pc98/cbus/sio.c +++ b/sys/pc98/cbus/sio.c @@ -415,7 +415,7 @@ static struct cdevsw sio_cdevsw = { .d_poll = ttypoll, .d_name = sio_driver_name, .d_maj = CDEV_MAJOR, - .d_flags = D_TTY | D_KQFILTER, + .d_flags = D_TTY, .d_kqfilter = ttykqfilter, }; diff --git a/sys/pc98/pc98/sio.c b/sys/pc98/pc98/sio.c index 3ec2bee..1dc212b 100644 --- a/sys/pc98/pc98/sio.c +++ b/sys/pc98/pc98/sio.c @@ -415,7 +415,7 @@ static struct cdevsw sio_cdevsw = { .d_poll = ttypoll, .d_name = sio_driver_name, .d_maj = CDEV_MAJOR, - .d_flags = D_TTY | D_KQFILTER, + .d_flags = D_TTY, .d_kqfilter = ttykqfilter, }; diff --git a/sys/pc98/pc98/syscons.c b/sys/pc98/pc98/syscons.c index 7220f70..dcd9048 100644 --- a/sys/pc98/pc98/syscons.c +++ b/sys/pc98/pc98/syscons.c @@ -221,7 +221,7 @@ static struct cdevsw sc_cdevsw = { .d_mmap = scmmap, .d_name = "sc", .d_maj = CDEV_MAJOR, - .d_flags = D_TTY | D_KQFILTER, + .d_flags = D_TTY, .d_kqfilter = ttykqfilter }; |