summaryrefslogtreecommitdiff
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
parentff7f6cd82999cd674a98232c7073937da84bd27c (diff)
parent10744c9c388d618d83d2bf9c041671aaffa4b193 (diff)
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 980f3ddf4b..7d05b84641 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__)