summaryrefslogtreecommitdiff
path: root/pkg/openbsd/patch/0036-rsync-Fix-some-incorrect-format-specifiers.patch
diff options
context:
space:
mode:
authorMichael Forney <mforney@mforney.org>2020-06-04 21:50:44 -0700
committerMichael Forney <mforney@mforney.org>2020-06-05 03:01:44 -0700
commit2f32b84cb259d95193f0eff42dc08b861df1ed68 (patch)
tree598f29f51597d07ac2c4701dd59ce69041ecf915 /pkg/openbsd/patch/0036-rsync-Fix-some-incorrect-format-specifiers.patch
parentf0b016581c124ebb1cc7e437e7eef5071dbaae8e (diff)
openbsd: Fix a few warnings
Diffstat (limited to 'pkg/openbsd/patch/0036-rsync-Fix-some-incorrect-format-specifiers.patch')
-rw-r--r--pkg/openbsd/patch/0036-rsync-Fix-some-incorrect-format-specifiers.patch25
1 files changed, 25 insertions, 0 deletions
diff --git a/pkg/openbsd/patch/0036-rsync-Fix-some-incorrect-format-specifiers.patch b/pkg/openbsd/patch/0036-rsync-Fix-some-incorrect-format-specifiers.patch
new file mode 100644
index 00000000..14d9a008
--- /dev/null
+++ b/pkg/openbsd/patch/0036-rsync-Fix-some-incorrect-format-specifiers.patch
@@ -0,0 +1,25 @@
+From dbec208559b72489671f119e695a4c340a288803 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 38d5d24fcc7..bf82896d221 100644
+--- a/usr.bin/rsync/uploader.c
++++ b/usr.bin/rsync/uploader.c
+@@ -945,7 +945,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.27.0
+