svn commit: r185589 - head/sys/compat/freebsd32

John Baldwin jhb at FreeBSD.org
Wed Dec 3 10:45:39 PST 2008


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;


More information about the svn-src-all mailing list