mirror of
https://git.proxmox.com/git/mirror_frr
synced 2025-05-17 02:50:56 +00:00
Merge pull request #2892 from qlyoung/fix-log-ref-number-signedness
lib: error codes are uint32_t's
This commit is contained in:
commit
093033e7cc
@ -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__)
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user