svn commit: r209426 - stable/8/share/examples/kld/syscall/test

Konstantin Belousov kib at FreeBSD.org
Tue Jun 22 08:58:13 UTC 2010


Author: kib
Date: Tue Jun 22 08:58:13 2010
New Revision: 209426
URL: http://svn.freebsd.org/changeset/base/209426

Log:
  MFC r209199:
  Fix the syscall module name after r205320.

Modified:
  stable/8/share/examples/kld/syscall/test/call.c
Directory Properties:
  stable/8/share/examples/kld/syscall/   (props changed)

Modified: stable/8/share/examples/kld/syscall/test/call.c
==============================================================================
--- stable/8/share/examples/kld/syscall/test/call.c	Tue Jun 22 08:22:25 2010	(r209425)
+++ stable/8/share/examples/kld/syscall/test/call.c	Tue Jun 22 08:58:13 2010	(r209426)
@@ -48,7 +48,7 @@ main(int argc, char **argv)
 	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