summaryrefslogtreecommitdiffstats
path: root/lib/log.h
diff options
context:
space:
mode:
authorQuentin Young <qlyoung@cumulusnetworks.com>2018-08-03 20:03:29 +0200
committerQuentin Young <qlyoung@cumulusnetworks.com>2018-08-14 22:02:05 +0200
commitaf4c27286d8eb3f347ff431a17a47a8d07cd8976 (patch)
treecaf5eae55c21f72baec4945cdb2cbc333d99f916 /lib/log.h
parentlib: remove still reachable blocks in ferr.c (diff)
downloadfrr-af4c27286d8eb3f347ff431a17a47a8d07cd8976.tar.xz
frr-af4c27286d8eb3f347ff431a17a47a8d07cd8976.zip
*: rename zlog_fer -> flog_err
Signed-off-by: Quentin Young <qlyoung@cumulusnetworks.com>
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__)