aboutsummaryrefslogtreecommitdiff
path: root/share/examples/kld/syscall/test
diff options
context:
space:
mode:
authorKonstantin Belousov <kib@FreeBSD.org>2010-06-15 09:30:36 +0000
committerKonstantin Belousov <kib@FreeBSD.org>2010-06-15 09:30:36 +0000
commit8284562954b7cd1969218a58c15e473cb15c6114 (patch)
tree1122ee09bf9fa4620e644f10bf6c545ab0bde7ed /share/examples/kld/syscall/test
parent997534958e2955ad42350ae18e91c7faa4adf8c0 (diff)
Fix the syscall module name after r205320.
Submitted by: Vladislav Movchan <vladislav.movchan gmail com> MFC after: 1 week
Notes
Notes: svn path=/head/; revision=209199
Diffstat (limited to 'share/examples/kld/syscall/test')
-rw-r--r--share/examples/kld/syscall/test/call.c2
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 1a97259ca9d2..0051df5b106c 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);
}