Skip to content
Permalink
Browse files

lib: error codes are uint32_t's

Signed-off-by: Quentin Young <qlyoung@cumulusnetworks.com>
  • Loading branch information...
qlyoung committed Aug 22, 2018
1 parent 9e32cce commit 10744c9c388d618d83d2bf9c041671aaffa4b193
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 10744c9

Please sign in to comment.
You can’t perform that action at this time.
You signed in with another tab or window. Reload to refresh your session. You signed out in another tab or window. Reload to refresh your session.