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 0f6f3cb..7b9a453 100644 --- a/share/examples/kld/cdev/module/cdevmod.c +++ b/share/examples/kld/cdev/module/cdevmod.c @@ -134,7 +134,7 @@ cdev_load(module_t mod, int cmd, void *arg) break; /* Success*/ default: /* we only understand load/unload*/ - err = EINVAL; + err = EOPNOTSUPP; break; } |