diff options
author | jhb <jhb@FreeBSD.org> | 2008-12-03 18:45:38 +0000 |
---|---|---|
committer | jhb <jhb@FreeBSD.org> | 2008-12-03 18:45:38 +0000 |
commit | d5575b642e366039bd6fdbcf59d9accdf3d776d1 (patch) | |
tree | 71a9bd1352226efe69e59747fe112ab9ae44075e /sys/compat | |
parent | 25cd12c1b2ca0757ebe329ef77becf7d56711cd2 (diff) | |
download | FreeBSD-src-d5575b642e366039bd6fdbcf59d9accdf3d776d1.zip FreeBSD-src-d5575b642e366039bd6fdbcf59d9accdf3d776d1.tar.gz |
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.
Diffstat (limited to 'sys/compat')
-rw-r--r-- | sys/compat/freebsd32/freebsd32_misc.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/sys/compat/freebsd32/freebsd32_misc.c b/sys/compat/freebsd32/freebsd32_misc.c index 266d063..2569ead 100644 --- a/sys/compat/freebsd32/freebsd32_misc.c +++ b/sys/compat/freebsd32/freebsd32_misc.c @@ -2774,7 +2774,7 @@ syscall32_module_handler(struct module *mod, int what, void *arg) 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; |