Source-Changes-HG archive

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

[src/trunk]: src/sys/arch/cobalt/cobalt Fix config_rootfound() arg.



details:   https://anonhg.NetBSD.org/src/rev/a7c2abf371a8
branches:  trunk
changeset: 581726:a7c2abf371a8
user:      tsutsui <tsutsui%NetBSD.org@localhost>
date:      Sat Jun 04 06:03:23 2005 +0000

description:
Fix config_rootfound() arg.

diffstat:

 sys/arch/cobalt/cobalt/autoconf.c |  6 +++---
 1 files changed, 3 insertions(+), 3 deletions(-)

diffs (27 lines):

diff -r e77e7b096a52 -r a7c2abf371a8 sys/arch/cobalt/cobalt/autoconf.c
--- a/sys/arch/cobalt/cobalt/autoconf.c Sat Jun 04 04:59:18 2005 +0000
+++ b/sys/arch/cobalt/cobalt/autoconf.c Sat Jun 04 06:03:23 2005 +0000
@@ -1,4 +1,4 @@
-/*     $NetBSD: autoconf.c,v 1.12 2004/10/23 17:07:38 thorpej Exp $    */
+/*     $NetBSD: autoconf.c,v 1.13 2005/06/04 06:03:23 tsutsui Exp $    */
 
 /*
  * Copyright (c) 2000 Soren S. Jorvang.  All rights reserved.
@@ -26,7 +26,7 @@
  */
 
 #include <sys/cdefs.h>
-__KERNEL_RCSID(0, "$NetBSD: autoconf.c,v 1.12 2004/10/23 17:07:38 thorpej Exp $");
+__KERNEL_RCSID(0, "$NetBSD: autoconf.c,v 1.13 2005/06/04 06:03:23 tsutsui Exp $");
 
 #include <sys/param.h>
 #include <sys/systm.h>
@@ -51,7 +51,7 @@
 
        (void)splhigh();
 
-       if (config_rootfound("mainbus", "mainbus") == NULL)
+       if (config_rootfound("mainbus", NULL) == NULL)
                panic("no mainbus found");
 
        _splnone();



Home | Main Index | Thread Index | Old Index