diff options
Diffstat (limited to 'share/examples/kld/syscall/module/syscall.c')
-rw-r--r-- | share/examples/kld/syscall/module/syscall.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/share/examples/kld/syscall/module/syscall.c b/share/examples/kld/syscall/module/syscall.c index eb168c3..f65668b 100644 --- a/share/examples/kld/syscall/module/syscall.c +++ b/share/examples/kld/syscall/module/syscall.c @@ -77,7 +77,7 @@ load (struct module *module, int cmd, void *arg) printf ("syscall unloaded from %d\n", offset); break; default : - error = EINVAL; + error = EOPNOTSUPP; break; } return error; |