diff --git a/c-programming/reverse-ramdisk.c b/c-programming/reverse-ramdisk.c index 0fe67b2..89604f4 100644 --- a/c-programming/reverse-ramdisk.c +++ b/c-programming/reverse-ramdisk.c @@ -29,9 +29,7 @@ To-Do: Add thread-safe versions of functions (use postfix `_r`) #endif #ifdef DEBUG -# define line_fail(x) do { \ - printf("failed on line %d\n", __LINE__ + x); \ -} while (0) +# define line_fail(x) printf("failed on line %d\n", __LINE__ + x) #else # define line_fail(x) #endif