Source-Changes-HG archive
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]
[src/trunk]: src/sys/kern Improve error message
details: https://anonhg.NetBSD.org/src/rev/7cd9659f4fd9
branches: trunk
changeset: 841972:7cd9659f4fd9
user: pgoyette <pgoyette%NetBSD.org@localhost>
date: Tue Jun 11 15:20:57 2019 +0000
description:
Improve error message
diffstat:
sys/kern/kern_module.c | 6 +++---
1 files changed, 3 insertions(+), 3 deletions(-)
diffs (27 lines):
diff -r 56b3f9bd77c3 -r 7cd9659f4fd9 sys/kern/kern_module.c
--- a/sys/kern/kern_module.c Tue Jun 11 14:00:16 2019 +0000
+++ b/sys/kern/kern_module.c Tue Jun 11 15:20:57 2019 +0000
@@ -1,4 +1,4 @@
-/* $NetBSD: kern_module.c,v 1.134 2019/04/08 11:32:49 pgoyette Exp $ */
+/* $NetBSD: kern_module.c,v 1.135 2019/06/11 15:20: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.134 2019/04/08 11:32:49 pgoyette Exp $");
+__KERNEL_RCSID(0, "$NetBSD: kern_module.c,v 1.135 2019/06/11 15:20:57 pgoyette Exp $");
#define _MODULE_INTERNAL
@@ -1239,7 +1239,7 @@
filedict = NULL;
}
if (error != 0) {
- module_error("modcmd function failed for `%s', error %d",
+ module_error("modcmd(CMD_INIT) failed for `%s', error %d",
mi->mi_name, error);
goto fail;
}
Home |
Main Index |
Thread Index |
Old Index