Source-Changes-HG archive

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

[src/trunk]: src/sys/kern Missed a C++ keyword (DEBUG case)



details:   https://anonhg.NetBSD.org/src/rev/15c940427936
branches:  trunk
changeset: 332047:15c940427936
user:      matt <matt%NetBSD.org@localhost>
date:      Fri Sep 05 06:50:58 2014 +0000

description:
Missed a C++ keyword (DEBUG case)

diffstat:

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

diffs (27 lines):

diff -r e96f3565b3e3 -r 15c940427936 sys/kern/kern_module.c
--- a/sys/kern/kern_module.c    Fri Sep 05 06:10:07 2014 +0000
+++ b/sys/kern/kern_module.c    Fri Sep 05 06:50:58 2014 +0000
@@ -1,4 +1,4 @@
-/*     $NetBSD: kern_module.c,v 1.100 2014/09/05 05:57:21 matt Exp $   */
+/*     $NetBSD: kern_module.c,v 1.101 2014/09/05 06:50:58 matt 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.100 2014/09/05 05:57:21 matt Exp $");
+__KERNEL_RCSID(0, "$NetBSD: kern_module.c,v 1.101 2014/09/05 06:50:58 matt Exp $");
 
 #define _MODULE_INTERNAL
 
@@ -967,7 +967,7 @@
                         * available for each architecture, so we don't
                         * print an error if they are missing.
                         */
-                       if (class != MODULE_CLASS_EXEC || error != ENOENT)
+                       if (modclass != MODULE_CLASS_EXEC || error != ENOENT)
                                module_error("vfs load failed for `%s', "
                                    "error %d", name, error);
 #endif



Home | Main Index | Thread Index | Old Index