aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--utils.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/utils.h b/utils.h
index 0931e82..d50ce59 100644
--- a/utils.h
+++ b/utils.h
@@ -19,7 +19,7 @@
#define CHK_ERR_V(errno, fmt, args...) \
do { \
if ((errno) < 0) { \
- DERROR(D_LOGNAME, (fmt), ##args) \
+ DERROR(D_LOGNAME, "" fmt, ##args); \
return (errno); \
} \
} while (0)