summaryrefslogtreecommitdiff
path: root/pkg/openbsd/patch/0033-rsync-Fix-some-incorrect-format-specifiers.patch
blob: 78d2bfa2a605a571992bfd118c59a9000139d504 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
From b9210214df47cb4cba51c66f77096c9306cb2ae4 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 e57647c38e5..ea54bf6496d 100644
--- a/usr.bin/rsync/uploader.c
+++ b/usr.bin/rsync/uploader.c
@@ -931,7 +931,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.34.1