summaryrefslogtreecommitdiff
path: root/utils
diff options
context:
space:
mode:
Diffstat (limited to 'utils')
-rw-r--r--utils/getconf.c8
1 files changed, 3 insertions, 5 deletions
diff --git a/utils/getconf.c b/utils/getconf.c
index 5ff98e6fc..0b2a5aa28 100644
--- a/utils/getconf.c
+++ b/utils/getconf.c
@@ -24,11 +24,9 @@
#define PACKAGE "getconf regression test"
#define VERSION ""
-#ifndef _
-# define _
-#endif
-#define error(status, errnum,...) \
- {fprintf(stderr, __VA_ARGS__); exit(status);}
+#define _(x) x
+#define error(status, errnum, fmt, ...) \
+ {fprintf(stderr, fmt "\n", ## __VA_ARGS__); exit(status);}
struct conf