Drop cargo cult aux="mainbus" argument to config_rootfound.
Makes -Wcast-qual happy.
This commit is contained in:
parent
c7dd3646ae
commit
0ecc598f5b
|
@ -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 @@ cpu_configure()
|
|||
|
||||
/* 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. */
|
||||
|
|
Loading…
Reference in New Issue