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
Notes:
svn2git
2020-12-20 02:59:44 +00:00
svn path=/head/; revision=78235
@ -105,8 +105,7 @@ static struct cdevsw mly_cdevsw = {
|
||||
MLY_CDEV_MAJOR,
|
||||
nodump,
|
||||
nopsize,
|
||||
0,
|
||||
-1
|
||||
0
|
||||
};
|
||||
|
||||
/********************************************************************************
|
||||
|
Loading…
Reference in New Issue
Block a user