diff options
author | peter <peter@FreeBSD.org> | 2001-06-15 00:16:59 +0000 |
---|---|---|
committer | peter <peter@FreeBSD.org> | 2001-06-15 00:16:59 +0000 |
commit | ea133b36699f2c95944ea2f57dbcb1b8007fcd24 (patch) | |
tree | 00bd3aa63a7d3dbc3a4ed6fba3cbd1b437d5b37a /sys/dev | |
parent | 087f88c7085304f289db3238b74b52df25f0add1 (diff) | |
download | FreeBSD-src-ea133b36699f2c95944ea2f57dbcb1b8007fcd24.zip FreeBSD-src-ea133b36699f2c95944ea2f57dbcb1b8007fcd24.tar.gz |
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.
Diffstat (limited to 'sys/dev')
-rw-r--r-- | sys/dev/mly/mly.c | 3 |
1 files changed, 1 insertions, 2 deletions
diff --git a/sys/dev/mly/mly.c b/sys/dev/mly/mly.c index fd3d357..2a92450 100644 --- a/sys/dev/mly/mly.c +++ b/sys/dev/mly/mly.c @@ -105,8 +105,7 @@ static struct cdevsw mly_cdevsw = { MLY_CDEV_MAJOR, nodump, nopsize, - 0, - -1 + 0 }; /******************************************************************************** |