summaryrefslogtreecommitdiffstats
path: root/database/engine/pdc.c
diff options
context:
space:
mode:
authorStelios Fragkakis <52996999+stelfrag@users.noreply.github.com>2023-12-13 16:24:59 +0200
committerGitHub <noreply@github.com>2023-12-13 16:24:59 +0200
commit548489555bbdadc7274a2165f365b968992b98da (patch)
tree48491db4e384926e7781206c86e98f67d484143b /database/engine/pdc.c
parent22f0953fcb44ec095ebffe80d440926b684185d7 (diff)
Fix coverity issues (#16589)
* Fix coverity issues * More issues fixed
Diffstat (limited to 'database/engine/pdc.c')
-rw-r--r--database/engine/pdc.c6
1 files changed, 3 insertions, 3 deletions
diff --git a/database/engine/pdc.c b/database/engine/pdc.c
index 58d421a383..fb9bc4fbcc 100644
--- a/database/engine/pdc.c
+++ b/database/engine/pdc.c
@@ -790,7 +790,7 @@ VALIDATED_PAGE_DESCRIPTOR validate_page(
nd_log_limit(&erl, NDLS_DAEMON, NDLP_ERR,
#endif
"DBENGINE: metric '%s' %s invalid page of type %u "
- "from %ld to %ld (now %ld), update every %ld, page length %zu, entries %zu (flags: %s)",
+ "from %ld to %ld (now %ld), update every %u, page length %zu, entries %zu (flags: %s)",
uuid_str, msg, vd.type,
vd.start_time_s, vd.end_time_s, now_s, vd.update_every_s, vd.page_length, vd.entries, wb?buffer_tostring(wb):""
);
@@ -810,9 +810,9 @@ VALIDATED_PAGE_DESCRIPTOR validate_page(
nd_log_limit(&erl, NDLS_DAEMON, NDLP_ERR,
#endif
"DBENGINE: metric '%s' %s page of type %u "
- "from %ld to %ld (now %ld), update every %ld, page length %zu, entries %zu (flags: %s), "
+ "from %ld to %ld (now %ld), update every %u, page length %zu, entries %zu (flags: %s), "
"found inconsistent - the right is "
- "from %ld to %ld, update every %ld, page length %zu, entries %zu: "
+ "from %ld to %ld, update every %u, page length %zu, entries %zu: "
"%s%s%s%s%s%s%s",
uuid_str, msg, vd.type,
start_time_s, end_time_s, now_s, update_every_s, page_length, entries, wb?buffer_tostring(wb):"",