Source-Changes-HG archive

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

[src/trunk]: src/sys/kern use a different root vnode variable to appease the ...



details:   https://anonhg.NetBSD.org/src/rev/5fef1b00154c
branches:  trunk
changeset: 823084:5fef1b00154c
user:      christos <christos%NetBSD.org@localhost>
date:      Tue Apr 11 21:15:57 2017 +0000

description:
use a different root vnode variable to appease the rump gods.

diffstat:

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

diffs (27 lines):

diff -r 0f34c1a540bd -r 5fef1b00154c sys/kern/kern_module.c
--- a/sys/kern/kern_module.c    Tue Apr 11 21:06:30 2017 +0000
+++ b/sys/kern/kern_module.c    Tue Apr 11 21:15:57 2017 +0000
@@ -1,4 +1,4 @@
-/*     $NetBSD: kern_module.c,v 1.122 2017/04/11 14:37:07 christos Exp $       */
+/*     $NetBSD: kern_module.c,v 1.123 2017/04/11 21:15:57 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.122 2017/04/11 14:37:07 christos Exp $");
+__KERNEL_RCSID(0, "$NetBSD: kern_module.c,v 1.123 2017/04/11 21:15:57 christos Exp $");
 
 #define _MODULE_INTERNAL
 
@@ -609,7 +609,7 @@
 {
        int error;
 
-       if (rootvnode == NULL) {
+       if (rootvp == NULL) {
 #ifdef DIAGNOSTIC
                printf("%s: trying to load `%s' before root is mounted\n",
                    __func__, filename);



Home | Main Index | Thread Index | Old Index