Source-Changes-HG archive
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]
[src/trunk]: src/sys/arch/sparc/sparc Panic takes a format string.
details: https://anonhg.NetBSD.org/src/rev/c2389d8c284e
branches: trunk
changeset: 340825:c2389d8c284e
user: joerg <joerg%NetBSD.org@localhost>
date: Sun Oct 04 08:15:46 2015 +0000
description:
Panic takes a format string.
diffstat:
sys/arch/sparc/sparc/autoconf.c | 8 ++++----
1 files changed, 4 insertions(+), 4 deletions(-)
diffs (36 lines):
diff -r 75ee7f990be1 -r c2389d8c284e sys/arch/sparc/sparc/autoconf.c
--- a/sys/arch/sparc/sparc/autoconf.c Sun Oct 04 07:59:47 2015 +0000
+++ b/sys/arch/sparc/sparc/autoconf.c Sun Oct 04 08:15:46 2015 +0000
@@ -1,4 +1,4 @@
-/* $NetBSD: autoconf.c,v 1.258 2014/08/12 13:53:49 martin Exp $ */
+/* $NetBSD: autoconf.c,v 1.259 2015/10/04 08:15:46 joerg Exp $ */
/*
* Copyright (c) 1996
@@ -48,7 +48,7 @@
*/
#include <sys/cdefs.h>
-__KERNEL_RCSID(0, "$NetBSD: autoconf.c,v 1.258 2014/08/12 13:53:49 martin Exp $");
+__KERNEL_RCSID(0, "$NetBSD: autoconf.c,v 1.259 2015/10/04 08:15:46 joerg Exp $");
#include "opt_ddb.h"
#include "opt_kgdb.h"
@@ -1296,7 +1296,7 @@
if ((node = findnode(node0, sp)) == 0) {
if (ssp->flags & BS_OPTIONAL) continue;
printf("could not find %s in OPENPROM\n", sp);
- panic(sp);
+ panic("%s", sp);
}
memset(&ma, 0, sizeof ma);
@@ -1318,7 +1318,7 @@
if (config_found(dev, (void *)&ma, mbprint) == NULL) {
if (ssp->flags & BS_OPTIONAL) continue;
- panic(sp);
+ panic("%s", sp);
}
}
Home |
Main Index |
Thread Index |
Old Index