Commit 0e9d67ae authored by Natanael Copa's avatar Natanael Copa

print: percent arg for process_fd is integer

With commit 0a131418 the percent
variable became an integer instead of size_t. We fix the format
modifier accordingly.
parent 8c425a1e
......@@ -67,7 +67,7 @@ void apk_print_progress(int percent_flags)
}
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);
}
}
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment