[PATCH 5/6] tests: fix a typo in tests.h

Masatake YAMATO yamato at redhat.com
Thu Mar 10 12:01:05 UTC 2022


* tests/tests.h: Fix the condition wrapping the
defintion for error_msg_and_fail().

Signed-off-by: Masatake YAMATO <yamato at redhat.com>
---
 tests/tests.h | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/tests/tests.h b/tests/tests.h
index c6d44d822..b1b22ce51 100644
--- a/tests/tests.h
+++ b/tests/tests.h
@@ -165,7 +165,7 @@ void perror_msg_and_skip(const char *, ...)
 #  define perror_msg_and_fail(fmt_, ...) \
 	perror_msg_and_fail("%s:%d: " fmt_, __FILE__, __LINE__, ##__VA_ARGS__)
 # endif
-# ifndef perror_msg_and_fail
+# ifndef error_msg_and_fail
 #  define error_msg_and_fail(fmt_, ...) \
 	error_msg_and_fail("%s:%d: " fmt_, __FILE__, __LINE__, ##__VA_ARGS__)
 # endif
-- 
2.35.1



More information about the Strace-devel mailing list