diff options
Diffstat (limited to 'share/examples/kld')
-rw-r--r-- | share/examples/kld/syscall/test/call.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/share/examples/kld/syscall/test/call.c b/share/examples/kld/syscall/test/call.c index 1a97259..0051df5 100644 --- a/share/examples/kld/syscall/test/call.c +++ b/share/examples/kld/syscall/test/call.c @@ -41,7 +41,7 @@ main(int argc __unused, char **argv __unused) struct module_stat stat; stat.version = sizeof(stat); - modstat(modfind("syscall"), &stat); + modstat(modfind("sys/syscall"), &stat); syscall_num = stat.data.intval; return syscall (syscall_num); } |