From e404fd2fc6c6b85c8fd62e8c54d2c5d2fa37b059 Mon Sep 17 00:00:00 2001 From: martin Date: Tue, 26 Dec 2006 12:28:31 +0000 Subject: [PATCH] Make the DDB_TRACE variant compilable --- sys/arch/mips/mips/db_trace.c | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/sys/arch/mips/mips/db_trace.c b/sys/arch/mips/mips/db_trace.c index 0db9c98e0c94..36a5cdd42a02 100644 --- a/sys/arch/mips/mips/db_trace.c +++ b/sys/arch/mips/mips/db_trace.c @@ -1,4 +1,4 @@ -/* $NetBSD: db_trace.c,v 1.29 2006/09/06 23:58:20 ad Exp $ */ +/* $NetBSD: db_trace.c,v 1.30 2006/12/26 12:28:31 martin Exp $ */ /* * Mach Operating System @@ -27,7 +27,7 @@ */ #include -__KERNEL_RCSID(0, "$NetBSD: db_trace.c,v 1.29 2006/09/06 23:58:20 ad Exp $"); +__KERNEL_RCSID(0, "$NetBSD: db_trace.c,v 1.30 2006/12/26 12:28:31 martin Exp $"); #include #include @@ -188,7 +188,7 @@ db_stack_trace_print(db_expr_t addr, int have_addr, db_expr_t count, InstFmt i; int stacksize; db_addr_t offset; - char *name; + const char *name; extern char verylocore[]; pc = ddb_regs.f_regs[_R_PC];