Source-Changes-HG archive
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]
[src/trunk]: src/sys/arch/mipsco/mipsco Use NULL and not a string constant as...
details: https://anonhg.NetBSD.org/src/rev/e8029f2fe7fc
branches: trunk
changeset: 581896:e8029f2fe7fc
user: he <he%NetBSD.org@localhost>
date: Thu Jun 09 13:48:12 2005 +0000
description:
Use NULL and not a string constant as the second argument to
config_rootfound().
diffstat:
sys/arch/mipsco/mipsco/autoconf.c | 6 +++---
1 files changed, 3 insertions(+), 3 deletions(-)
diffs (27 lines):
diff -r 7d5419f42298 -r e8029f2fe7fc sys/arch/mipsco/mipsco/autoconf.c
--- a/sys/arch/mipsco/mipsco/autoconf.c Thu Jun 09 13:47:28 2005 +0000
+++ b/sys/arch/mipsco/mipsco/autoconf.c Thu Jun 09 13:48:12 2005 +0000
@@ -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 @@
* Kick off autoconfiguration
*/
s = splhigh();
- if (config_rootfound("mainbus", "mainbus") == NULL)
+ if (config_rootfound("mainbus", NULL) == NULL)
panic("no mainbus found");
initcpu();
}
Home |
Main Index |
Thread Index |
Old Index