Use NULL and not a string constant as the second argument to
config_rootfound().
This commit is contained in:
parent
d049b36b69
commit
116fd4948d
|
@ -1,4 +1,4 @@
|
|||
/* $NetBSD: autoconf.c,v 1.13 2004/10/23 17:07:39 thorpej Exp $ */
|
||||
/* $NetBSD: autoconf.c,v 1.14 2005/06/09 13:48:12 he Exp $ */
|
||||
|
||||
/*
|
||||
* Copyright (c) 1992, 1993
|
||||
|
@ -85,7 +85,7 @@
|
|||
*/
|
||||
|
||||
#include <sys/cdefs.h>
|
||||
__KERNEL_RCSID(0, "$NetBSD: autoconf.c,v 1.13 2004/10/23 17:07:39 thorpej Exp $");
|
||||
__KERNEL_RCSID(0, "$NetBSD: autoconf.c,v 1.14 2005/06/09 13:48:12 he Exp $");
|
||||
|
||||
#include <sys/param.h>
|
||||
#include <sys/systm.h>
|
||||
|
@ -132,7 +132,7 @@ cpu_configure()
|
|||
* Kick off autoconfiguration
|
||||
*/
|
||||
s = splhigh();
|
||||
if (config_rootfound("mainbus", "mainbus") == NULL)
|
||||
if (config_rootfound("mainbus", NULL) == NULL)
|
||||
panic("no mainbus found");
|
||||
initcpu();
|
||||
}
|
||||
|
|
Loading…
Reference in New Issue