Source-Changes-HG archive

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

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



details:   https://anonhg.NetBSD.org/src/rev/9923dea9c7f0
branches:  trunk
changeset: 581651:9923dea9c7f0
user:      tsutsui <tsutsui%NetBSD.org@localhost>
date:      Fri Jun 03 13:45:58 2005 +0000

description:
Fix config_rootfound() arg.

diffstat:

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

diffs (27 lines):

diff -r adb532adf8e5 -r 9923dea9c7f0 sys/arch/newsmips/newsmips/autoconf.c
--- a/sys/arch/newsmips/newsmips/autoconf.c     Fri Jun 03 13:45:28 2005 +0000
+++ b/sys/arch/newsmips/newsmips/autoconf.c     Fri Jun 03 13:45:58 2005 +0000
@@ -1,4 +1,4 @@
-/*     $NetBSD: autoconf.c,v 1.24 2005/02/06 02:18:02 tsutsui Exp $    */
+/*     $NetBSD: autoconf.c,v 1.25 2005/06/03 13:45:58 tsutsui Exp $    */
 
 /*
  * Copyright (c) 1992, 1993
@@ -85,7 +85,7 @@
  */
 
 #include <sys/cdefs.h>
-__KERNEL_RCSID(0, "$NetBSD: autoconf.c,v 1.24 2005/02/06 02:18:02 tsutsui Exp $");
+__KERNEL_RCSID(0, "$NetBSD: autoconf.c,v 1.25 2005/06/03 13:45:58 tsutsui Exp $");
 
 #include <sys/param.h>
 #include <sys/systm.h>
@@ -142,7 +142,7 @@
                *(char *)INTEN1 = 0;
        }
 
-       if (config_rootfound("mainbus", "mainbus") == NULL)
+       if (config_rootfound("mainbus", NULL) == NULL)
                panic("no mainbus found");
 
        /* Enable hardware interrupt registers. */



Home | Main Index | Thread Index | Old Index