Pass NULL as second argument to config_rootfound() instead of a string.

This commit is contained in:
he 2005-06-26 19:55:45 +00:00
parent f289c3cf55
commit 5a196eb1ff
1 changed files with 3 additions and 3 deletions

View File

@ -1,4 +1,4 @@
/* $NetBSD: autoconf.c,v 1.2 2003/07/15 02:54:37 lukem Exp $ */
/* $NetBSD: autoconf.c,v 1.3 2005/06/26 19:55:45 he Exp $ */
/*-
* Copyright (c) 2001 The NetBSD Foundation, Inc.
@ -34,7 +34,7 @@
*/
#include <sys/cdefs.h>
__KERNEL_RCSID(0, "$NetBSD: autoconf.c,v 1.2 2003/07/15 02:54:37 lukem Exp $");
__KERNEL_RCSID(0, "$NetBSD: autoconf.c,v 1.3 2005/06/26 19:55:45 he Exp $");
#include <sys/param.h>
#include <sys/systm.h>
@ -55,7 +55,7 @@ cpu_configure()
/* Enable SIF BIOS for IOP access */
sif_init();
if (config_rootfound("mainbus", "mainbus") == NULL)
if (config_rootfound("mainbus", NULL) == NULL)
panic("no mainbus found");
/* Enable all interrupts */