Module Name: src
Committed By: pgoyette
Date: Thu Sep 13 21:42:25 UTC 2018
Modified Files:
src/sys/compat/common [pgoyette-compat]: compat_20_mod.c
Log Message:
Fix typo - Don't try to re-init the submodule when doing MODULE_CMD_fINI!
To generate a diff of this commit:
cvs rdiff -u -r1.1.2.2 -r1.1.2.3 src/sys/compat/common/compat_20_mod.c
Please note that diffs are not public domain; they are subject to the
copyright notices on the relevant files.
Modified files:
Index: src/sys/compat/common/compat_20_mod.c
diff -u src/sys/compat/common/compat_20_mod.c:1.1.2.2 src/sys/compat/common/compat_20_mod.c:1.1.2.3
--- src/sys/compat/common/compat_20_mod.c:1.1.2.2 Mon Sep 10 08:41:47 2018
+++ src/sys/compat/common/compat_20_mod.c Thu Sep 13 21:42:24 2018
@@ -1,4 +1,4 @@
-/* $NetBSD: compat_20_mod.c,v 1.1.2.2 2018/09/10 08:41:47 pgoyette Exp $ */
+/* $NetBSD: compat_20_mod.c,v 1.1.2.3 2018/09/13 21:42:24 pgoyette Exp $ */
/*-
* Copyright (c) 2018 The NetBSD Foundation, Inc.
@@ -34,7 +34,7 @@
*/
#include <sys/cdefs.h>
-__KERNEL_RCSID(0, "$NetBSD: compat_20_mod.c,v 1.1.2.2 2018/09/10 08:41:47 pgoyette Exp $");
+__KERNEL_RCSID(0, "$NetBSD: compat_20_mod.c,v 1.1.2.3 2018/09/13 21:42:24 pgoyette Exp $");
#include <sys/systm.h>
#include <sys/module.h>
@@ -90,7 +90,7 @@ compat_20_modcmd(modcmd_t cmd, void *arg
case MODULE_CMD_INIT:
return compat_20_init();
case MODULE_CMD_FINI:
- return compat_20_init();
+ return compat_20_fini();
default:
return ENOTTY;
}