Source-Changes-HG archive

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

[src/trunk]: src/sys/arch/hpcmips/hpcmips Fix call to config_rootfound to pas...



details:   https://anonhg.NetBSD.org/src/rev/9784cc419fc9
branches:  trunk
changeset: 581906:9784cc419fc9
user:      jmc <jmc%NetBSD.org@localhost>
date:      Thu Jun 09 21:49:22 2005 +0000

description:
Fix call to config_rootfound to pass -Wcast-qual

diffstat:

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

diffs (27 lines):

diff -r 27c7a1167c78 -r 9784cc419fc9 sys/arch/hpcmips/hpcmips/autoconf.c
--- a/sys/arch/hpcmips/hpcmips/autoconf.c       Thu Jun 09 21:43:13 2005 +0000
+++ b/sys/arch/hpcmips/hpcmips/autoconf.c       Thu Jun 09 21:49:22 2005 +0000
@@ -1,4 +1,4 @@
-/*     $NetBSD: autoconf.c,v 1.15 2004/10/23 17:07:39 thorpej Exp $    */
+/*     $NetBSD: autoconf.c,v 1.16 2005/06/09 21:49:22 jmc Exp $        */
 
 /*
  * Copyright (c) 1992, 1993
@@ -77,7 +77,7 @@
  */
 
 #include <sys/cdefs.h>                 /* RCS ID & Copyright macro defns */
-__KERNEL_RCSID(0, "$NetBSD: autoconf.c,v 1.15 2004/10/23 17:07:39 thorpej Exp $");
+__KERNEL_RCSID(0, "$NetBSD: autoconf.c,v 1.16 2005/06/09 21:49:22 jmc Exp $");
 
 #include <sys/param.h>
 #include <sys/systm.h>
@@ -111,7 +111,7 @@
 
        config_hook_init();
 
-       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