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;
_______________________________________________
svn-src-all@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/svn-src-all
To unsubscribe, send any mail to "[EMAIL PROTECTED]"

Reply via email to