summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorStelios Fragkakis <52996999+stelfrag@users.noreply.github.com>2023-09-13 11:06:33 +0300
committerGitHub <noreply@github.com>2023-09-13 11:06:33 +0300
commit56513116d88d5a6e25903c27b7f44cdf9f73e2d8 (patch)
tree536762b8a1cf2e265e83bc5aba227bdfa3d4beb2
parentffb45471b9d68988bb2e9f8e71310a01ed10a70b (diff)
Fix CID 400366 (#15953)
-rw-r--r--collectors/systemd-journal.plugin/systemd-journal.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/collectors/systemd-journal.plugin/systemd-journal.c b/collectors/systemd-journal.plugin/systemd-journal.c
index aa2ecd5c4d..ddabf9e49f 100644
--- a/collectors/systemd-journal.plugin/systemd-journal.c
+++ b/collectors/systemd-journal.plugin/systemd-journal.c
@@ -96,7 +96,7 @@ int systemd_journal_query(BUFFER *wb, FACETS *facets, usec_t after_ut, usec_t be
size_t excess_rows_allowed = 100;
if(sd_journal_seek_realtime_usec(j, before_ut) < 0) {
- netdata_log_error("SYSTEMD-JOURNAL: Failed to seek to " PRIu64, before_ut);
+ netdata_log_error("SYSTEMD-JOURNAL: Failed to seek to %" PRIu64, before_ut);
if(sd_journal_seek_tail(j) < 0) {
netdata_log_error("SYSTEMD-JOURNAL: Failed to seek to journal's tail");
goto finalize;