From owner-svn-src-head@FreeBSD.ORG Tue Jun 15 09:30:36 2010 Return-Path: Delivered-To: svn-src-head@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 9A5D4106564A; Tue, 15 Jun 2010 09:30:36 +0000 (UTC) (envelope-from kib@FreeBSD.org) Received: from svn.freebsd.org (svn.freebsd.org [IPv6:2001:4f8:fff6::2c]) by mx1.freebsd.org (Postfix) with ESMTP id 89D4D8FC26; Tue, 15 Jun 2010 09:30:36 +0000 (UTC) Received: from svn.freebsd.org (localhost [127.0.0.1]) by svn.freebsd.org (8.14.3/8.14.3) with ESMTP id o5F9Ua8c036220; Tue, 15 Jun 2010 09:30:36 GMT (envelope-from kib@svn.freebsd.org) Received: (from kib@localhost) by svn.freebsd.org (8.14.3/8.14.3/Submit) id o5F9Uagw036218; Tue, 15 Jun 2010 09:30:36 GMT (envelope-from kib@svn.freebsd.org) Message-Id: <201006150930.o5F9Uagw036218@svn.freebsd.org> From: Konstantin Belousov Date: Tue, 15 Jun 2010 09:30:36 +0000 (UTC) To: src-committers@freebsd.org, svn-src-all@freebsd.org, svn-src-head@freebsd.org X-SVN-Group: head MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Cc: Subject: svn commit: r209199 - head/share/examples/kld/syscall/test X-BeenThere: svn-src-head@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: SVN commit messages for the src tree for head/-current List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Tue, 15 Jun 2010 09:30:36 -0000 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 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); }