From 896be5903d96e243d859abf5dd57f10e1d2623ac Mon Sep 17 00:00:00 2001 From: mbuhl <> Date: Sat, 28 May 2022 18:39:39 +0000 Subject: *** empty log message *** --- src/regress/lib/libc/sys/atf-c.h | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'src/regress/lib/libc/sys/atf-c.h') diff --git a/src/regress/lib/libc/sys/atf-c.h b/src/regress/lib/libc/sys/atf-c.h index c10628be26..1a0f29d673 100644 --- a/src/regress/lib/libc/sys/atf-c.h +++ b/src/regress/lib/libc/sys/atf-c.h @@ -1,4 +1,4 @@ -/* $OpenBSD: atf-c.h,v 1.3 2021/09/02 12:40:44 mbuhl Exp $ */ +/* $OpenBSD: atf-c.h,v 1.4 2022/05/28 18:39:39 mbuhl Exp $ */ /* * Copyright (c) 2019 Moritz Buhl * @@ -80,7 +80,7 @@ ATF_TC_FUNCTIONS(fn) #define ATF_CHECK_STREQ ATF_REQUIRE_STREQ #define atf_req(exp, err, msg, ...) \ - atf_require(exp, err, #exp, __FILE__, __LINE__, NULL) + atf_require(exp, err, #exp, __FILE__, __LINE__, msg, ##__VA_ARGS__) #define ATF_REQUIRE(exp) atf_req(exp, -1, NULL) #define ATF_REQUIRE_ERRNO(no, exp) atf_req(exp, no, NULL) #define ATF_REQUIRE_MSG(exp, fmt, ...) atf_req(exp, -1, fmt, ##__VA_ARGS__) -- cgit v1.2.3-55-g6feb