From 68585e71a85811a95b94fac1ef45d7e26ae4c91a Mon Sep 17 00:00:00 2001 From: Brian Behlendorf Date: Fri, 9 Jan 2009 13:28:42 -0800 Subject: [PATCH] Get correct exit prototype --- module/zfs/zfs_ioctl.c | 8 +++++++- 1 file changed, 7 insertions(+), 1 deletion(-) diff --git a/module/zfs/zfs_ioctl.c b/module/zfs/zfs_ioctl.c index 919dc65f04..8d6dbf7b8b 100644 --- a/module/zfs/zfs_ioctl.c +++ b/module/zfs/zfs_ioctl.c @@ -3181,8 +3181,14 @@ _fini(void) } #ifdef HAVE_SPL +void +__fini(void) +{ + _fini(); +} + module_init(_init); -module_exit(_fini); +module_exit(__fini); MODULE_AUTHOR("Sun Microsystems, Inc"); MODULE_DESCRIPTION("ZFS");