Source-Changes-HG archive
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]
[src/trunk]: src/sys/kern Tell which dependency has failed
details: https://anonhg.NetBSD.org/src/rev/9f308aacf986
branches: trunk
changeset: 797346:9f308aacf986
user: maxv <maxv%NetBSD.org@localhost>
date: Mon Jul 14 16:06:48 2014 +0000
description:
Tell which dependency has failed
diffstat:
sys/kern/kern_module.c | 9 +++++----
1 files changed, 5 insertions(+), 4 deletions(-)
diffs (30 lines):
diff -r a652626ec2b4 -r 9f308aacf986 sys/kern/kern_module.c
--- a/sys/kern/kern_module.c Mon Jul 14 14:58:32 2014 +0000
+++ b/sys/kern/kern_module.c Mon Jul 14 16:06:48 2014 +0000
@@ -1,4 +1,4 @@
-/* $NetBSD: kern_module.c,v 1.95 2014/02/25 18:30:11 pooka Exp $ */
+/* $NetBSD: kern_module.c,v 1.96 2014/07/14 16:06:48 maxv 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.95 2014/02/25 18:30:11 pooka Exp $");
+__KERNEL_RCSID(0, "$NetBSD: kern_module.c,v 1.96 2014/07/14 16:06:48 maxv Exp $");
#define _MODULE_INTERNAL
@@ -1081,8 +1081,9 @@
error = module_do_load(buf, true, flags, NULL,
&mod2, MODULE_CLASS_ANY, true);
if (error != 0) {
- module_error("recursive load failed for `%s', "
- "error %d", mi->mi_name, error);
+ module_error("recursive load failed for `%s' "
+ "(`%s' required), error %d", mi->mi_name,
+ buf, error);
goto fail;
}
mod->mod_required[mod->mod_nrequired++] = mod2;
Home |
Main Index |
Thread Index |
Old Index