From 765b385c8c9ab25fe0a9f6fead1be4028e226024 Mon Sep 17 00:00:00 2001 From: Anton Khirnov Date: Wed, 10 Jul 2019 17:08:24 +0200 Subject: common: do not interpret printf sequences in mg2di_assert() --- common.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/common.h b/common.h index 03b33f6..0c644bd 100644 --- a/common.h +++ b/common.h @@ -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) -- cgit v1.2.3