diff options
Diffstat (limited to 'share/examples/kld/dyn_sysctl/dyn_sysctl.c')
-rw-r--r-- | share/examples/kld/dyn_sysctl/dyn_sysctl.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/share/examples/kld/dyn_sysctl/dyn_sysctl.c b/share/examples/kld/dyn_sysctl/dyn_sysctl.c index 628dbf3..bcef7d4 100644 --- a/share/examples/kld/dyn_sysctl/dyn_sysctl.c +++ b/share/examples/kld/dyn_sysctl/dyn_sysctl.c @@ -153,7 +153,7 @@ load (module_t mod, int cmd, void *arg) printf("Ok\n"); break; default : - error = EINVAL; + error = EOPNOTSUPP; break; } return error; |