mirror of
https://github.com/opnsense/src.git
synced 2026-05-28 04:12:45 -04:00
Fix warning: 110: initialization makes pointer from integer without a cast
This was passing a (d_kqfilter_t *)-1 as the kqfilter function pointer. Fortunately there was no D_KQFILTER in d_flags, so this was harmless.
This commit is contained in:
parent
14aa34173c
commit
5c176b95c2
1 changed files with 1 additions and 2 deletions
|
|
@ -105,8 +105,7 @@ static struct cdevsw mly_cdevsw = {
|
|||
MLY_CDEV_MAJOR,
|
||||
nodump,
|
||||
nopsize,
|
||||
0,
|
||||
-1
|
||||
0
|
||||
};
|
||||
|
||||
/********************************************************************************
|
||||
|
|
|
|||
Loading…
Reference in a new issue