diff options
Diffstat (limited to 'src/main/tools/process-tools.h')
-rw-r--r-- | src/main/tools/process-tools.h | 10 |
1 files changed, 5 insertions, 5 deletions
diff --git a/src/main/tools/process-tools.h b/src/main/tools/process-tools.h index 00a7e9df2b..a0ba38816d 100644 --- a/src/main/tools/process-tools.h +++ b/src/main/tools/process-tools.h @@ -30,11 +30,11 @@ exit(EXIT_FAILURE); \ } -#define CHECK_CALL(x, ...) \ - if ((x) == -1) { \ - fprintf(stderr, __FILE__ ":" S__LINE__ ": " __VA_ARGS__); \ - perror(#x); \ - exit(EXIT_FAILURE); \ +#define CHECK_CALL(x) \ + if ((x) == -1) { \ + fprintf(stderr, __FILE__ ":" S__LINE__ ": "); \ + perror(#x); \ + exit(EXIT_FAILURE); \ } #define CHECK_NOT_NULL(x) \ |