From cdb1f983a89439ad11d51fe96fc5838cca9d1b3f Mon Sep 17 00:00:00 2001 From: Laurent Bercot Date: Sun, 18 Dec 2022 19:04:26 +0000 Subject: More strerr.h fixes Signed-off-by: Laurent Bercot --- src/include/skalibs/strerr.h | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) (limited to 'src') diff --git a/src/include/skalibs/strerr.h b/src/include/skalibs/strerr.h index 9f2d4c3..8cff167 100644 --- a/src/include/skalibs/strerr.h +++ b/src/include/skalibs/strerr.h @@ -51,10 +51,10 @@ extern char const *PROG ; #define strerr_warnwu(...) strerr_warnw("unable to ", __VA_ARGS__) #define strerr_warnwusys(...) strerr_warnwsys("unable to ", __VA_ARGS__) -#define strerr_diewu(...) strerr_diew("unable to ", __VA_ARGS__) -#define strerr_diewusys(...) strerr_diewsys("unable to ", __VA_ARGS__) -#define strerr_diefu(...) strerr_dief("unable to ", __VA_ARGS__) -#define strerr_diefusys(...) strerr_diefsys("unable to ", __VA_ARGS__) +#define strerr_diewu(e, ...) strerr_diew(e, "unable to ", __VA_ARGS__) +#define strerr_diewusys(e, ...) strerr_diewsys(e, "unable to ", __VA_ARGS__) +#define strerr_diefu(e, ...) strerr_dief(e, "unable to ", __VA_ARGS__) +#define strerr_diefusys(e, ...) strerr_diefsys(e, "unable to ", __VA_ARGS__) #define strerr_warnin(n, ...) strerr_warnn((n)+2, PROG, ": info: ", __VA_ARGS__) #define strerr_warninsys(n, ...) strerr_warnnsys((n)+2, PROG, ": info: ", __VA_ARGS__) -- cgit v1.2.3