From 4b259030cab60bfdae1405dcdb399c91a89c86a8 Mon Sep 17 00:00:00 2001 From: Stefan Farfeleder Date: Tue, 6 Jul 2004 17:48:34 +0000 Subject: [PATCH] Parenthesised string literals are invalid in initialisers for character arrays. Use braces instead. --- sbin/growfs/debug.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/sbin/growfs/debug.h b/sbin/growfs/debug.h index 81f76d3200b6..3cad9d97874c 100644 --- a/sbin/growfs/debug.h +++ b/sbin/growfs/debug.h @@ -86,7 +86,7 @@ void dbg_dump_sptbl(struct fs *, const char *, struct cg *); #define DL_INFO 0x02 extern int _dbg_lvl_; -#define DBG_FUNC(N) char __FKT__[] = (N); +#define DBG_FUNC(N) char __FKT__[] = {N}; #define DBG_ENTER if(_dbg_lvl_ & DL_TRC) { \ fprintf(stderr, "~>%s: %s\n", __FILE__, __FKT__ ); \ }