X-Git-Url: https://git.m6w6.name/?a=blobdiff_plain;ds=inline;f=libtest%2Ffatal.hpp;h=61fe4b02acb210c65bf0e4e2f7a6c00f8ecfcd9e;hb=675ac17fddca229e391d80eb610959d9c53db6e5;hp=23f47bd9d65b9decad8286ee03ad864160a0be98;hpb=5dbc64bfe7b86b105b1c552eaa2b3f54453db2bc;p=awesomized%2Flibmemcached diff --git a/libtest/fatal.hpp b/libtest/fatal.hpp index 23f47bd9..61fe4b02 100644 --- a/libtest/fatal.hpp +++ b/libtest/fatal.hpp @@ -55,5 +55,5 @@ private: } // namespace libtest -#define fatal_message(__mesg) libtest::fatal(LIBYATL_DEFAULT_PARAM, __mesg) -#define fatal_assert(__assert) if((__assert)) {} else { libtest::fatal(LIBYATL_DEFAULT_PARAM, #__assert); } +#define fatal_message(__mesg) libtest::fatal(LIBYATL_DEFAULT_PARAM, "%s", __mesg) +#define fatal_assert(__assert) if((__assert)) {} else { libtest::fatal(LIBYATL_DEFAULT_PARAM, "%s", #__assert); }