svn commit: r209199 - head/share/examples/kld/syscall/test
Konstantin Belousov
kib at FreeBSD.org
Tue Jun 15 09:30:36 UTC 2010
Author: kib
Date: Tue Jun 15 09:30:36 2010
New Revision: 209199
URL: http://svn.freebsd.org/changeset/base/209199
Log:
Fix the syscall module name after r205320.
Submitted by: Vladislav Movchan <vladislav.movchan gmail com>
MFC after: 1 week
Modified:
head/share/examples/kld/syscall/test/call.c
Modified: head/share/examples/kld/syscall/test/call.c
==============================================================================
--- head/share/examples/kld/syscall/test/call.c Tue Jun 15 09:19:33 2010 (r209198)
+++ head/share/examples/kld/syscall/test/call.c Tue Jun 15 09:30:36 2010 (r209199)
@@ -41,7 +41,7 @@ main(int argc __unused, char **argv __un
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);
}
More information about the svn-src-all
mailing list