Source-Changes-HG archive

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

[src/trunk]: src/sys/arch/hpcsh/hpcsh Drop cargo cult aux="mainbus" argument ...



details:   https://anonhg.NetBSD.org/src/rev/3399bb89027e
branches:  trunk
changeset: 581760:3399bb89027e
user:      uwe <uwe%NetBSD.org@localhost>
date:      Sat Jun 04 22:57:20 2005 +0000

description:
Drop cargo cult aux="mainbus" argument to config_rootfound.
Makes -Wcast-qual happy.

diffstat:

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

diffs (27 lines):

diff -r 87c9ecefa7f7 -r 3399bb89027e sys/arch/hpcsh/hpcsh/autoconf.c
--- a/sys/arch/hpcsh/hpcsh/autoconf.c   Sat Jun 04 22:49:32 2005 +0000
+++ b/sys/arch/hpcsh/hpcsh/autoconf.c   Sat Jun 04 22:57:20 2005 +0000
@@ -1,4 +1,4 @@
-/*     $NetBSD: autoconf.c,v 1.14 2004/10/23 17:07:39 thorpej Exp $    */
+/*     $NetBSD: autoconf.c,v 1.15 2005/06/04 22:57:20 uwe Exp $        */
 
 /*
  * Copyright (c) 1992, 1993
@@ -77,7 +77,7 @@
  */
 
 #include <sys/cdefs.h>
-__KERNEL_RCSID(0, "$NetBSD: autoconf.c,v 1.14 2004/10/23 17:07:39 thorpej Exp $");
+__KERNEL_RCSID(0, "$NetBSD: autoconf.c,v 1.15 2005/06/04 22:57:20 uwe Exp $");
 
 #include <sys/param.h>
 #include <sys/systm.h>
@@ -120,7 +120,7 @@
 
        /* Kick off autoconfiguration. */
        splhigh();
-       if (config_rootfound("mainbus", "mainbus") == NULL)
+       if (config_rootfound("mainbus", NULL) == NULL)
                panic("no mainbus found");
 
        /* Configuration is finished, turn on interrupts. */



Home | Main Index | Thread Index | Old Index