Don't initialize d_kqfilter to 0.
This commit is contained in:
parent
c42cb9d906
commit
a8b182112d
Notes:
svn2git
2020-12-20 02:59:44 +00:00
svn path=/head/; revision=111817
@ -326,9 +326,7 @@ static struct cdevsw DRM( cdevsw) = {
|
||||
.d_name = DRIVER_NAME,
|
||||
.d_maj = CDEV_MAJOR,
|
||||
.d_flags = D_TTY | D_TRACKCLOSE,
|
||||
#if __FreeBSD_version >= 500000
|
||||
.d_kqfilter = 0
|
||||
#else
|
||||
#if __FreeBSD_version < 500000
|
||||
/* bmaj */ -1
|
||||
#endif
|
||||
};
|
||||
|
Loading…
Reference in New Issue
Block a user