summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorGuillem Jover <guillem@debian.org>2018-06-05 05:27:30 +0200
committerGuillem Jover <guillem@debian.org>2018-08-01 05:36:01 +0200
commit1f656230d0599005b4558423ae471e3e0364211b (patch)
tree2765a97f69d0cd08b17a044d299ee9b6f05483d3
parent3b48f9c2d07ef829bb1727e622b14bca4883d61b (diff)
downloaddpkg-1f656230d0599005b4558423ae471e3e0364211b.tar.gz
dpkg-split: Fix format string to match variable declaration
Warned-by: cppcheck
-rw-r--r--dpkg-split/join.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/dpkg-split/join.c b/dpkg-split/join.c
index b5e14712e..305b9d41e 100644
--- a/dpkg-split/join.c
+++ b/dpkg-split/join.c
@@ -63,7 +63,7 @@ void reassemble(struct partinfo **partlist, const char *outputfile) {
pi->filename, outputfile, err.str);
close(fd_in);
- printf("%d ",i+1);
+ printf("%u ", i + 1);
}
if (fsync(fd_out))
ohshite(_("unable to sync file '%s'"), outputfile);