diff options
author | Vladimir Kobal <vlad@prokk.net> | 2022-02-21 12:23:48 +0200 |
---|---|---|
committer | GitHub <noreply@github.com> | 2022-02-21 12:23:48 +0200 |
commit | d8b7b6a25f7fc0ec4d79a7f8a72c779e3bf4afd7 (patch) | |
tree | 8fba2db960467dcbbd3cba0660d1a874c16783db /database/engine/journalfile.c | |
parent | ad72a83afdd5fbd1075d1d1f3cc97edfdea4650e (diff) |
Fix compilation warnings on macOS (#12082)
Diffstat (limited to 'database/engine/journalfile.c')
-rw-r--r-- | database/engine/journalfile.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/database/engine/journalfile.c b/database/engine/journalfile.c index 6406561613..ad5f7befc7 100644 --- a/database/engine/journalfile.c +++ b/database/engine/journalfile.c @@ -428,7 +428,7 @@ static uint64_t iterate_transactions(struct rrdengine_instance *ctx, struct rrde iov = uv_buf_init(buf, size_bytes); ret = uv_fs_read(NULL, &req, file, &iov, 1, pos, NULL); if (ret < 0) { - error("uv_fs_read: pos=%lu, %s", pos, uv_strerror(ret)); + error("uv_fs_read: pos=%"PRIu64", %s", pos, uv_strerror(ret)); uv_fs_req_cleanup(&req); goto skip_file; } |