From a5a41f8dbb6cd37903bda2693e0f119f7e67f268 Mon Sep 17 00:00:00 2001 From: Lucas De Marchi Date: Sat, 14 Jun 2014 11:14:58 -0300 Subject: testsuite: Fix macro missing format string --- testsuite/testsuite.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/testsuite/testsuite.h b/testsuite/testsuite.h index 47b72fd..c90a1d5 100644 --- a/testsuite/testsuite.h +++ b/testsuite/testsuite.h @@ -122,7 +122,7 @@ int test_run(const struct test *t); #define assert_return(expr, r) \ do { \ if ((!(expr))) { \ - ERR("Failed assertion: " #expr, \ + ERR("Failed assertion: " #expr "%s:%d %s", \ __FILE__, __LINE__, __PRETTY_FUNCTION__); \ return (r); \ } \ -- cgit v1.2.3