Source-Changes-HG archive

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

[src/trunk]: src/sys/kern Can you please tell us the module name that had the...



details:   https://anonhg.NetBSD.org/src/rev/32887029892a
branches:  trunk
changeset: 784870:32887029892a
user:      christos <christos%NetBSD.org@localhost>
date:      Tue Feb 12 19:14:50 2013 +0000

description:
Can you please tell us the module name that had the wrong version? Thanks.

diffstat:

 sys/kern/kern_module.c |  8 ++++----
 1 files changed, 4 insertions(+), 4 deletions(-)

diffs (29 lines):

diff -r 0a092f669a11 -r 32887029892a sys/kern/kern_module.c
--- a/sys/kern/kern_module.c    Tue Feb 12 19:10:49 2013 +0000
+++ b/sys/kern/kern_module.c    Tue Feb 12 19:14:50 2013 +0000
@@ -1,4 +1,4 @@
-/*     $NetBSD: kern_module.c,v 1.86 2011/12/04 19:24:59 jym Exp $     */
+/*     $NetBSD: kern_module.c,v 1.87 2013/02/12 19:14:50 christos 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.86 2011/12/04 19:24:59 jym Exp $");
+__KERNEL_RCSID(0, "$NetBSD: kern_module.c,v 1.87 2013/02/12 19:14:50 christos Exp $");
 
 #define _MODULE_INTERNAL
 
@@ -937,8 +937,8 @@
                goto fail;
        }
        if (!module_compatible(mi->mi_version, __NetBSD_Version__)) {
-               module_error("module built for `%d', system `%d'",
-                   mi->mi_version, __NetBSD_Version__);
+               module_error("module `%s' built for `%d', system `%d'",
+                   mi->mi_name, mi->mi_version, __NetBSD_Version__);
                if ((flags & MODCTL_LOAD_FORCE) != 0) {
                        module_error("forced load, system may be unstable");
                } else {



Home | Main Index | Thread Index | Old Index