print: percent arg for process_fd is integer
With commit 0a13141889
the percent
variable became an integer instead of size_t. We fix the format
modifier accordingly.
cute-signatures
parent
8c425a1e33
commit
0e9d67aea8
|
@ -67,7 +67,7 @@ void apk_print_progress(int percent_flags)
|
||||||
}
|
}
|
||||||
|
|
||||||
if (apk_progress_fd != 0) {
|
if (apk_progress_fd != 0) {
|
||||||
i = snprintf(buf, sizeof(buf), "%zu\n", percent);
|
i = snprintf(buf, sizeof(buf), "%i\n", percent);
|
||||||
write(apk_progress_fd, buf, i);
|
write(apk_progress_fd, buf, i);
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in New Issue