Source-Changes-HG archive
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]
[src/pgoyette-compat]: src/sys/kern ooppss - don't forget the structure pointer!
details: https://anonhg.NetBSD.org/src/rev/f8951ada87ba
branches: pgoyette-compat
changeset: 830614:f8951ada87ba
user: pgoyette <pgoyette%NetBSD.org@localhost>
date: Wed Sep 05 09:42:57 2018 +0000
description:
ooppss - don't forget the structure pointer!
diffstat:
sys/kern/kern_module.c | 6 +++---
1 files changed, 3 insertions(+), 3 deletions(-)
diffs (27 lines):
diff -r 5b1c0c363085 -r f8951ada87ba sys/kern/kern_module.c
--- a/sys/kern/kern_module.c Wed Sep 05 09:26:59 2018 +0000
+++ b/sys/kern/kern_module.c Wed Sep 05 09:42:57 2018 +0000
@@ -1,4 +1,4 @@
-/* $NetBSD: kern_module.c,v 1.130.2.17 2018/09/05 09:26:59 pgoyette Exp $ */
+/* $NetBSD: kern_module.c,v 1.130.2.18 2018/09/05 09:42:57 pgoyette Exp $ */
/*-
* Copyright (c) 2008 The NetBSD Foundation, Inc.
@@ -34,7 +34,7 @@
*/
#include <sys/cdefs.h>
-__KERNEL_RCSID(0, "$NetBSD: kern_module.c,v 1.130.2.17 2018/09/05 09:26:59 pgoyette Exp $");
+__KERNEL_RCSID(0, "$NetBSD: kern_module.c,v 1.130.2.18 2018/09/05 09:42:57 pgoyette Exp $");
#define _MODULE_INTERNAL
@@ -1406,7 +1406,7 @@
kmem_free(mod->mod_required, mod->mod_arequired *
sizeof(module_t));
if (mod->mod_source == MODULE_SOURCE_KERNEL) {
- if (mod_arequired != 0) {
+ if (mod->mod_arequired != 0) {
/*
* release "required" resources - will be re-parsed
* if the module is re-enabled
Home |
Main Index |
Thread Index |
Old Index