From b3fbfd598f8f1cb90e47855dd9096a4181c0ba4f Mon Sep 17 00:00:00 2001 From: Miles Bader Date: Thu, 27 Apr 1995 23:18:35 +0000 Subject: Formerly ext2_fs.h.~14~ --- ext2fs/ext2_fs.h | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) (limited to 'ext2fs') diff --git a/ext2fs/ext2_fs.h b/ext2fs/ext2_fs.h index c622ec7f..7a1d3343 100644 --- a/ext2fs/ext2_fs.h +++ b/ext2fs/ext2_fs.h @@ -63,10 +63,10 @@ typedef signed char s8; */ #ifdef EXT2FS_DEBUG # define ext2_debug(f, a...) \ - { printf ("ext2fs: DEBUG %s:%d: %s: ", __FILE__, __LINE__, __FUNCTION__); \ - printf (f, ## a); } + do { printf ("ext2fs: DEBUG %s:%d: %s: ", __FILE__, __LINE__, __FUNCTION__); \ + printf (f "\n", ## a); } while (0) #else -# define ext2_debug(f, a...) /**/ +# define ext2_debug(f, a...) (void)0 #endif /* -- cgit v1.2.3