aboutsummaryrefslogtreecommitdiffstats
path: root/utils.h
diff options
context:
space:
mode:
authorMark Farrugia <mark.farrugia@fiberdyne.com.au>2018-10-30 17:58:22 +1100
committerMark Farrugia <mark.farrugia@fiberdyne.com.au>2018-10-30 17:58:39 +1100
commit80973a617ada9181a40a69e25b7f23e7c02bc545 (patch)
treea9f630fffb264cd567bef9d94b398c40b5790758 /utils.h
parent562827052f1a9fb15e5988d9c8ed3671316b5382 (diff)
Fix debug print macro
Missing blank quotations beside fmt Signed-off-by: Mark Farrugia <mark.farrugia@fiberdyne.com.au>
Diffstat (limited to 'utils.h')
-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)