diff options
author | stefanf <stefanf@FreeBSD.org> | 2004-07-06 17:48:34 +0000 |
---|---|---|
committer | stefanf <stefanf@FreeBSD.org> | 2004-07-06 17:48:34 +0000 |
commit | 42232f8162a7986e911c922af5f9b24ae63446ea (patch) | |
tree | 74e91fd504ea78e5e454b0bf14d1545f4c165512 /sbin/growfs/debug.h | |
parent | 4f5d8d196fa5f3bd25f0ca37ab46e7603f4c874c (diff) | |
download | FreeBSD-src-42232f8162a7986e911c922af5f9b24ae63446ea.zip FreeBSD-src-42232f8162a7986e911c922af5f9b24ae63446ea.tar.gz |
Parenthesised string literals are invalid in initialisers for character arrays.
Use braces instead.
Diffstat (limited to 'sbin/growfs/debug.h')
-rw-r--r-- | sbin/growfs/debug.h | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/sbin/growfs/debug.h b/sbin/growfs/debug.h index 81f76d3..3cad9d9 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__ ); \ } |