Source-Changes-HG archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

[src/pgoyette-compat]: src/sys/compat/common Fix typo - Don't try to re-init ...



details:   https://anonhg.NetBSD.org/src/rev/02b3c3af78b3
branches:  pgoyette-compat
changeset: 830694:02b3c3af78b3
user:      pgoyette <pgoyette%NetBSD.org@localhost>
date:      Thu Sep 13 21:42:24 2018 +0000

description:
Fix typo - Don't try to re-init the submodule when doing MODULE_CMD_fINI!

diffstat:

 sys/compat/common/compat_20_mod.c |  6 +++---
 1 files changed, 3 insertions(+), 3 deletions(-)

diffs (27 lines):

diff -r 23e53b4e8965 -r 02b3c3af78b3 sys/compat/common/compat_20_mod.c
--- a/sys/compat/common/compat_20_mod.c Thu Sep 13 10:16:51 2018 +0000
+++ b/sys/compat/common/compat_20_mod.c Thu Sep 13 21:42:24 2018 +0000
@@ -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 @@
        case MODULE_CMD_INIT:
                return compat_20_init();
        case MODULE_CMD_FINI:
-               return compat_20_init();
+               return compat_20_fini();
        default:
                return ENOTTY;
        }



Home | Main Index | Thread Index | Old Index