Source-Changes-HG archive

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

[src/trunk]: src/sys/kern fix compilation error; hi christos!



details:   https://anonhg.NetBSD.org/src/rev/e9277402f509
branches:  trunk
changeset: 789923:e9277402f509
user:      jnemeth <jnemeth%NetBSD.org@localhost>
date:      Fri Sep 13 07:18:34 2013 +0000

description:
fix compilation error; hi christos!

diffstat:

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

diffs (27 lines):

diff -r e3ba445e3f75 -r e9277402f509 sys/kern/kern_module.c
--- a/sys/kern/kern_module.c    Fri Sep 13 06:21:43 2013 +0000
+++ b/sys/kern/kern_module.c    Fri Sep 13 07:18:34 2013 +0000
@@ -1,4 +1,4 @@
-/*     $NetBSD: kern_module.c,v 1.92 2013/09/12 19:02:05 christos Exp $        */
+/*     $NetBSD: kern_module.c,v 1.93 2013/09/13 07:18:34 jnemeth 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.92 2013/09/12 19:02:05 christos Exp $");
+__KERNEL_RCSID(0, "$NetBSD: kern_module.c,v 1.93 2013/09/13 07:18:34 jnemeth Exp $");
 
 #define _MODULE_INTERNAL
 
@@ -932,7 +932,7 @@
                         * available for each architecture, so we don't
                         * print an error if they are missing.
                         */
-                       if (class != MODULE_CLASS_EXEC || errno != ENOENT)
+                       if (class != MODULE_CLASS_EXEC || error != ENOENT)
                                module_error("vfs load failed for `%s', "
                                    "error %d", name, error);
 #endif



Home | Main Index | Thread Index | Old Index