diff --git a/sys/arch/algor/algor/autoconf.c b/sys/arch/algor/algor/autoconf.c index 64b64a65850e..15e82c00ef0c 100644 --- a/sys/arch/algor/algor/autoconf.c +++ b/sys/arch/algor/algor/autoconf.c @@ -1,4 +1,4 @@ -/* $NetBSD: autoconf.c,v 1.4 2004/10/23 17:07:38 thorpej Exp $ */ +/* $NetBSD: autoconf.c,v 1.5 2005/06/09 06:48:16 he Exp $ */ /*- * Copyright (c) 2001 The NetBSD Foundation, Inc. @@ -37,7 +37,7 @@ */ #include -__KERNEL_RCSID(0, "$NetBSD: autoconf.c,v 1.4 2004/10/23 17:07:38 thorpej Exp $"); +__KERNEL_RCSID(0, "$NetBSD: autoconf.c,v 1.5 2005/06/09 06:48:16 he Exp $"); #include "opt_algor_p4032.h" #include "opt_algor_p5064.h" @@ -60,7 +60,7 @@ cpu_configure(void) intr_init(); (void) splhigh(); - if (config_rootfound("mainbus", "mainbus") == 0) + if (config_rootfound("mainbus", NULL) == 0) panic("no mainbus found"); (void) spl0(); }