aboutsummaryrefslogtreecommitdiffstats
path: root/src/dbg.h
diff options
context:
space:
mode:
authorTharre <tharre3@gmail.com>2014-11-11 13:45:14 +0100
committerTharre <tharre3@gmail.com>2014-11-11 14:03:32 +0100
commit56f3fa373a76842275b199c9ce14fd8e626bd909 (patch)
tree3ef552a3041afe97686532a8bec492e2c786505d /src/dbg.h
parenta07239b0d220fb04dadd6422fd75defa13ee50b9 (diff)
downloadredo-56f3fa373a76842275b199c9ce14fd8e626bd909.tar.gz
redo-56f3fa373a76842275b199c9ce14fd8e626bd909.tar.xz
redo-56f3fa373a76842275b199c9ce14fd8e626bd909.zip
Some refactoring and small fixes.
Diffstat (limited to 'src/dbg.h')
-rw-r--r--src/dbg.h4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/dbg.h b/src/dbg.h
index a992cb8..afbb21f 100644
--- a/src/dbg.h
+++ b/src/dbg.h
@@ -34,9 +34,9 @@
#define log_err(...) LOG_HELPER(_FILENAME, __LINE__, __VA_ARGS__)
#define fatal(...) \
- {FATAL_HELPER(__VA_ARGS__, strerror(errno)); exit(EXIT_FAILURE);}
+ ({FATAL_HELPER(__VA_ARGS__, strerror(errno)); exit(EXIT_FAILURE);})
#define fatal_(f,l,...) \
- {FATAL_HELPER_(f, l, __VA_ARGS__, strerror(errno)); exit(EXIT_FAILURE);}
+ ({FATAL_HELPER_(f, l, __VA_ARGS__, strerror(errno)); exit(EXIT_FAILURE);})
#define assert_str_equal(a,b) ({ \
if (strcmp(a, b)) { \