Date: Wed, 3 Dec 2008 18:45:38 +0000 (UTC) From: John Baldwin <jhb@FreeBSD.org> To: src-committers@freebsd.org, svn-src-all@freebsd.org, svn-src-head@freebsd.org Subject: svn commit: r185589 - head/sys/compat/freebsd32 Message-ID: <200812031845.mB3IjcZC098534@svn.freebsd.org>
next in thread | raw e-mail | index | archive | help
Author: jhb Date: Wed Dec 3 18:45:38 2008 New Revision: 185589 URL: http://svn.freebsd.org/changeset/base/185589 Log: When unloading a 32-bit system call module, restore the sysent vector in the 32-bit system call table instead of the main system call table. Modified: head/sys/compat/freebsd32/freebsd32_misc.c Modified: head/sys/compat/freebsd32/freebsd32_misc.c ============================================================================== --- head/sys/compat/freebsd32/freebsd32_misc.c Wed Dec 3 18:36:59 2008 (r185588) +++ head/sys/compat/freebsd32/freebsd32_misc.c Wed Dec 3 18:45:38 2008 (r185589) @@ -2774,7 +2774,7 @@ syscall32_module_handler(struct module * if (error) return (error); } - error = syscall_deregister(data->offset, &data->old_sysent); + error = syscall32_deregister(data->offset, &data->old_sysent); return (error); default: error = EOPNOTSUPP;
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?200812031845.mB3IjcZC098534>