diff options
Diffstat (limited to 'share/examples/kld/cdev/module/cdevmod.c')
-rw-r--r-- | share/examples/kld/cdev/module/cdevmod.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/share/examples/kld/cdev/module/cdevmod.c b/share/examples/kld/cdev/module/cdevmod.c index f844092..e2ee2e8 100644 --- a/share/examples/kld/cdev/module/cdevmod.c +++ b/share/examples/kld/cdev/module/cdevmod.c @@ -119,4 +119,4 @@ cdev_load(mod, cmd, arg) /* Now declare the module to the system */ -CDEV_MODULE(cdev_mod, CDEV_MAJOR, my_devsw, cdev_load, 0); +DEV_MODULE(cdev_mod, CDEV_MAJOR, -1, my_devsw, cdev_load, 0); |