Skip site navigation (1)Skip section navigation (2)
Date:      Tue, 22 Jun 2010 08:58:13 +0000 (UTC)
From:      Konstantin Belousov <kib@FreeBSD.org>
To:        src-committers@freebsd.org, svn-src-all@freebsd.org, svn-src-stable@freebsd.org, svn-src-stable-8@freebsd.org
Subject:   svn commit: r209426 - stable/8/share/examples/kld/syscall/test
Message-ID:  <201006220858.o5M8wDkA094991@svn.freebsd.org>

next in thread | raw e-mail | index | archive | help
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);
 }



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?201006220858.o5M8wDkA094991>