2f13d7
From 15127592f8cc3221129f61b79319d88c7727bec3 Mon Sep 17 00:00:00 2001
2f13d7
From: Matthew Almond <malmond@fb.com>
2f13d7
Date: Sun, 31 Jan 2021 15:24:25 -0800
2f13d7
Subject: [PATCH 04/30] Fix printf formatting in reflink.c
2f13d7
2f13d7
There were some mismatches on field "sizes". This should eliminate the
2f13d7
error messages.
2f13d7
---
2f13d7
 plugins/reflink.c | 2 +-
2f13d7
 1 file changed, 1 insertion(+), 1 deletion(-)
2f13d7
2f13d7
diff --git a/plugins/reflink.c b/plugins/reflink.c
2f13d7
index 9eaa87094..513887604 100644
2f13d7
--- a/plugins/reflink.c
2f13d7
+++ b/plugins/reflink.c
2f13d7
@@ -316,7 +316,7 @@ static rpmRC reflink_fsm_file_pre(rpmPlugin plugin, rpmfi fi, const char* path,
2f13d7
 		return RPMRC_FAIL;
2f13d7
 	    }
2f13d7
 	    rpmlog(RPMLOG_DEBUG,
2f13d7
-	           _("reflink: Reflinking %lu bytes at %lu to %s orig size=%lu, file=%ld\n"),
2f13d7
+	           _("reflink: Reflinking %llu bytes at %llu to %s orig size=%ld, file=%lld\n"),
2f13d7
 		   fcr.src_length, fcr.src_offset, path, size, fcr.src_fd);
2f13d7
 	    rc = ioctl(dst, FICLONERANGE, &fcr;;
2f13d7
 	    if (rc) {
2f13d7
-- 
2f13d7
2.35.1
2f13d7