Skip to content
Permalink
Browse files

Merge pull request #2892 from qlyoung/fix-log-ref-number-signedness

lib: error codes are uint32_t's
  • Loading branch information...
eqvinox committed Aug 22, 2018
2 parents ff7f6cd + 10744c9 commit 093033e7cc0b4449f7278cd67b38e63f9b6d1c04
Showing with 1 addition and 1 deletion.
  1. +1 −1 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__)

0 comments on commit 093033e

Please sign in to comment.
You can’t perform that action at this time.