summaryrefslogtreecommitdiffstats
path: root/lib/log.h
diff options
context:
space:
mode:
authorQuentin Young <qlyoung@cumulusnetworks.com>2018-08-22 19:27:28 +0200
committerQuentin Young <qlyoung@cumulusnetworks.com>2018-08-22 19:45:47 +0200
commit10744c9c388d618d83d2bf9c041671aaffa4b193 (patch)
tree592a5ce7c450cca94928a283f96a7d1ca5665792 /lib/log.h
parentMerge pull request #2876 from donaldsharp/lsa_new_and_data (diff)
downloadfrr-10744c9c388d618d83d2bf9c041671aaffa4b193.tar.xz
frr-10744c9c388d618d83d2bf9c041671aaffa4b193.zip
lib: error codes are uint32_t's
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 980f3ddf4..7d05b8464 100644
--- a/lib/log.h
+++ b/lib/log.h
@@ -87,7 +87,7 @@ extern void zlog_debug(const char *format, ...) PRINTF_ATTRIBUTE(1, 2);
/* For logs which have error codes associated with them */
#define flog_err(ferr_id, format, ...) \
- zlog_err("[EC %d] " format, ferr_id, ##__VA_ARGS__)
+ zlog_err("[EC %"PRIu32"] " format, ferr_id, ##__VA_ARGS__)
#define flog_err_sys(ferr_id, format, ...) \
flog_err(ferr_id, format, ##__VA_ARGS__)