diff options
author | David Lamparter <equinox@diac24.net> | 2018-08-22 21:21:40 +0200 |
---|---|---|
committer | GitHub <noreply@github.com> | 2018-08-22 21:21:40 +0200 |
commit | 093033e7cc0b4449f7278cd67b38e63f9b6d1c04 (patch) | |
tree | 5c87c992ce72ee98f834aa57dd9aad9d22a35c24 /lib | |
parent | Merge pull request #2890 from patrasar/Fix_2847 (diff) | |
parent | lib: error codes are uint32_t's (diff) | |
download | frr-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.h | 2 |
1 files changed, 1 insertions, 1 deletions
@@ -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__) |