aboutsummaryrefslogtreecommitdiff
path: root/sys/dev/mly
diff options
context:
space:
mode:
authorPeter Wemm <peter@FreeBSD.org>2001-06-15 00:16:59 +0000
committerPeter Wemm <peter@FreeBSD.org>2001-06-15 00:16:59 +0000
commit5c176b95c26bc007a32c36dbd5947c7a4d452c44 (patch)
tree00bd3aa63a7d3dbc3a4ed6fba3cbd1b437d5b37a /sys/dev/mly
parent14aa34173cc3166a4cb9052cd5b9a1a1e2b8e348 (diff)
downloadsrc-5c176b95c26bc007a32c36dbd5947c7a4d452c44.tar.gz
src-5c176b95c26bc007a32c36dbd5947c7a4d452c44.zip
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.
Notes
Notes: svn path=/head/; revision=78235
Diffstat (limited to 'sys/dev/mly')
-rw-r--r--sys/dev/mly/mly.c3
1 files changed, 1 insertions, 2 deletions
diff --git a/sys/dev/mly/mly.c b/sys/dev/mly/mly.c
index fd3d35738c27..2a92450f710a 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
};
/********************************************************************************