Skip site navigation (1)Skip section navigation (2)
Date:      Tue, 15 Jun 2010 09:30:36 +0000 (UTC)
From:      Konstantin Belousov <kib@FreeBSD.org>
To:        src-committers@freebsd.org, svn-src-all@freebsd.org, svn-src-head@freebsd.org
Subject:   svn commit: r209199 - head/share/examples/kld/syscall/test
Message-ID:  <201006150930.o5F9Uagw036218@svn.freebsd.org>

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



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