diff options
author | Laurent Bercot <ska-skaware@skarnet.org> | 2022-12-18 19:04:26 +0000 |
---|---|---|
committer | Laurent Bercot <ska@appnovation.com> | 2022-12-18 19:04:26 +0000 |
commit | cdb1f983a89439ad11d51fe96fc5838cca9d1b3f (patch) | |
tree | cb07b929b413216938906ca0d4ac282c0278daaa /src | |
parent | 510076b35d04b6a3023d39f2f4cd5393b55a0e67 (diff) | |
download | skalibs-cdb1f983a89439ad11d51fe96fc5838cca9d1b3f.tar.xz |
More strerr.h fixes
Signed-off-by: Laurent Bercot <ska@appnovation.com>
Diffstat (limited to 'src')
-rw-r--r-- | src/include/skalibs/strerr.h | 8 |
1 files changed, 4 insertions, 4 deletions
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__) |