]> git.ipfire.org Git - pakfire.git/commitdiff
testsuite: Fix typo in logging function
authorMichael Tremer <michael.tremer@ipfire.org>
Wed, 29 Nov 2017 14:40:07 +0000 (15:40 +0100)
committerMichael Tremer <michael.tremer@ipfire.org>
Wed, 29 Nov 2017 14:40:07 +0000 (15:40 +0100)
Signed-off-by: Michael Tremer <michael.tremer@ipfire.org>
tests/testsuite.h

index 406512dd69b5a4fbe05455c67825e5291d9f9414..fb0f1f5cf1b55adf16e6a07a7e845cda5e0e423a 100644 (file)
@@ -51,7 +51,7 @@ int test_run(const test_t* t);
 #define assert_return(expr, r) \
        do { \
                if ((!(expr))) { \
-                       ERR_("Failed assertion: " #expr " %s:%d %s\n", \
+                       LOG_ERROR("Failed assertion: " #expr " %s:%d %s\n", \
                                __FILE__, __LINE__, __PRETTY_FUNCTION__); \
                        return r; \
                } \