summaryrefslogtreecommitdiff
path: root/pkg/openbsd/patch/0033-rsync-Fix-some-incorrect-format-specifiers.patch
diff options
context:
space:
mode:
Diffstat (limited to 'pkg/openbsd/patch/0033-rsync-Fix-some-incorrect-format-specifiers.patch')
-rw-r--r--pkg/openbsd/patch/0033-rsync-Fix-some-incorrect-format-specifiers.patch25
1 files changed, 25 insertions, 0 deletions
diff --git a/pkg/openbsd/patch/0033-rsync-Fix-some-incorrect-format-specifiers.patch b/pkg/openbsd/patch/0033-rsync-Fix-some-incorrect-format-specifiers.patch
new file mode 100644
index 00000000..278aabbd
--- /dev/null
+++ b/pkg/openbsd/patch/0033-rsync-Fix-some-incorrect-format-specifiers.patch
@@ -0,0 +1,25 @@
+From 02cf1f8b022fd8c27eeb312ee3d649f4157899d6 Mon Sep 17 00:00:00 2001
+From: Michael Forney <mforney@mforney.org>
+Date: Thu, 4 Jun 2020 21:36:24 -0700
+Subject: [PATCH] rsync: Fix some incorrect format specifiers
+
+---
+ usr.bin/rsync/uploader.c | 2 +-
+ 1 file changed, 1 insertion(+), 1 deletion(-)
+
+diff --git a/usr.bin/rsync/uploader.c b/usr.bin/rsync/uploader.c
+index db8bc626ae2..d1ebb7bcf1b 100644
+--- a/usr.bin/rsync/uploader.c
++++ b/usr.bin/rsync/uploader.c
+@@ -942,7 +942,7 @@ rsync_uploader(struct upload *u, int *fileinfd,
+ init_blk(&blk.blks[i], &blk, offs, i, mbuf, sess);
+ offs += blk.len;
+ LOG3(
+- "i=%ld, offs=%lld, msz=%ld, blk.len=%lu, blk.rem=%lu",
++ "i=%zu, offs=%td, msz=%zd, blk.len=%zu, blk.rem=%zu",
+ i, offs, msz, blk.len, blk.rem);
+ i++;
+ } while (i < blk.blksz);
+--
+2.31.1
+