mirror of
https://github.com/opnsense/src.git
synced 2026-06-09 08:43:19 -04:00
Don't initialize d_kqfilter to 0.
This commit is contained in:
parent
c42cb9d906
commit
a8b182112d
1 changed files with 1 additions and 3 deletions
|
|
@ -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 a new issue