summaryrefslogtreecommitdiffstats
path: root/lib
diff options
context:
space:
mode:
authorDavid Lamparter <equinox@diac24.net>2018-08-22 21:21:40 +0200
committerGitHub <noreply@github.com>2018-08-22 21:21:40 +0200
commit093033e7cc0b4449f7278cd67b38e63f9b6d1c04 (patch)
tree5c87c992ce72ee98f834aa57dd9aad9d22a35c24 /lib
parentMerge pull request #2890 from patrasar/Fix_2847 (diff)
parentlib: error codes are uint32_t's (diff)
downloadfrr-093033e7cc0b4449f7278cd67b38e63f9b6d1c04.tar.xz
frr-093033e7cc0b4449f7278cd67b38e63f9b6d1c04.zip
Merge pull request #2892 from qlyoung/fix-log-ref-number-signedness
lib: error codes are uint32_t's
Diffstat (limited to 'lib')
-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__)