summaryrefslogtreecommitdiff
path: root/ext2fs/ext2_fs.h
diff options
context:
space:
mode:
authorMiles Bader <miles@gnu.org>1995-04-27 23:18:35 +0000
committerMiles Bader <miles@gnu.org>1995-04-27 23:18:35 +0000
commitb3fbfd598f8f1cb90e47855dd9096a4181c0ba4f (patch)
tree46ee586fdd7a139eb7ccd17d65948ba899981527 /ext2fs/ext2_fs.h
parentd73482449168001d73f32c1c3fd983bf7c1175d2 (diff)
Formerly ext2_fs.h.~14~
Diffstat (limited to 'ext2fs/ext2_fs.h')
-rw-r--r--ext2fs/ext2_fs.h6
1 files changed, 3 insertions, 3 deletions
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
/*