commit cdb1f983a89439ad11d51fe96fc5838cca9d1b3f
parent 510076b35d04b6a3023d39f2f4cd5393b55a0e67
Author: Laurent Bercot <ska-skaware@skarnet.org>
Date: Sun, 18 Dec 2022 19:04:26 +0000
More strerr.h fixes
Signed-off-by: Laurent Bercot <ska@appnovation.com>
Diffstat:
1 file changed, 4 insertions(+), 4 deletions(-)
diff --git 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__)