diff options
author | Anton Khirnov <anton@khirnov.net> | 2019-07-10 17:08:24 +0200 |
---|---|---|
committer | Anton Khirnov <anton@khirnov.net> | 2019-07-10 17:08:24 +0200 |
commit | 765b385c8c9ab25fe0a9f6fead1be4028e226024 (patch) | |
tree | 95785de19827047579b85faf4b8605b5fa71a46b | |
parent | c53cab55049cf667c29a6b4cb7a3b3842a07f04c (diff) |
common: do not interpret printf sequences in mg2di_assert()
-rw-r--r-- | common.h | 2 |
1 files changed, 1 insertions, 1 deletions
@@ -33,7 +33,7 @@ #define mg2di_assert(x) \ do { \ if (!(x)) { \ - fprintf(stderr, "Assertion " #x " failed\n"); \ + fputs("Assertion " #x " failed\n", stderr); \ abort(); \ } \ } while (0) |