summaryrefslogtreecommitdiffstats
path: root/lib/log.h
diff options
context:
space:
mode:
Diffstat (limited to 'lib/log.h')
-rw-r--r--lib/log.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/log.h b/lib/log.h
index a2546298a..a7d39b264 100644
--- a/lib/log.h
+++ b/lib/log.h
@@ -86,7 +86,7 @@ extern void zlog_notice(const char *format, ...) PRINTF_ATTRIBUTE(1, 2);
extern void zlog_debug(const char *format, ...) PRINTF_ATTRIBUTE(1, 2);
/* For logs which have error codes associated with them */
-#define zlog_ferr(ferr_id, format, ...) \
+#define flog_err(ferr_id, format, ...) \
zlog_err("[EC %d] " format, ferr_id, ##__VA_ARGS__)