Module Name:    src
Committed By:   chs
Date:           Sun Aug  8 16:27:30 UTC 2010

Modified Files:
        src/sys/arch/hpc/include: debug.h

Log Message:
fix build problem.


To generate a diff of this commit:
cvs rdiff -u -r1.9 -r1.10 src/sys/arch/hpc/include/debug.h

Please note that diffs are not public domain; they are subject to the
copyright notices on the relevant files.

Modified files:

Index: src/sys/arch/hpc/include/debug.h
diff -u src/sys/arch/hpc/include/debug.h:1.9 src/sys/arch/hpc/include/debug.h:1.10
--- src/sys/arch/hpc/include/debug.h:1.9	Mon Apr 28 20:23:20 2008
+++ src/sys/arch/hpc/include/debug.h	Sun Aug  8 16:27:30 2010
@@ -1,4 +1,4 @@
-/*	$NetBSD: debug.h,v 1.9 2008/04/28 20:23:20 martin Exp $	*/
+/*	$NetBSD: debug.h,v 1.10 2010/08/08 16:27:30 chs Exp $	*/
 
 /*-
  * Copyright (c) 1999-2002 The NetBSD Foundation, Inc.
@@ -114,8 +114,8 @@
 void dbg_banner_line(void);
 #define dbg_banner_function()						\
 {									\
-	const char funcname[] = __func__;				\
-	dbg_banner_title(funcname, sizeof funcname);			\
+	const char *funcname = __func__;				\
+	dbg_banner_title(funcname, strlen (funcname));			\
 }
 
 /* HPC_DEBUG_LCD */

Reply via email to