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
@ -105,8 +105,7 @@ static struct cdevsw mly_cdevsw = {
|
||||
MLY_CDEV_MAJOR,
|
||||
nodump,
|
||||
nopsize,
|
||||
0,
|
||||
-1
|
||||
0
|
||||
};
|
||||
|
||||
/********************************************************************************
|
||||
|
Loading…
x
Reference in New Issue
Block a user