diff options
author | Lucas De Marchi <lucas.demarchi@intel.com> | 2014-06-14 11:14:58 -0300 |
---|---|---|
committer | Lucas De Marchi <lucas.demarchi@intel.com> | 2014-06-14 11:14:58 -0300 |
commit | a5a41f8dbb6cd37903bda2693e0f119f7e67f268 (patch) | |
tree | aa6772271ab6e7519709acad4ff636731b5ef06d | |
parent | 5963c36da3a80106a1157ab22958f8b8e405c883 (diff) | |
download | kmod-a5a41f8dbb6cd37903bda2693e0f119f7e67f268.tar.gz kmod-a5a41f8dbb6cd37903bda2693e0f119f7e67f268.tar.bz2 kmod-a5a41f8dbb6cd37903bda2693e0f119f7e67f268.zip |
testsuite: Fix macro missing format string
-rw-r--r-- | testsuite/testsuite.h | 2 |
1 files changed, 1 insertions, 1 deletions
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); \ } \ |