mirror of
https://git.yoctoproject.org/poky
synced 2026-04-20 18:32:12 +02:00
cve-check-tool: Fix progress bar patch for curl 7.55
CURL_FORMAT_OFF_T does not seem to exist anymore, use CURL_FORMAT_CURL_OFF_T instead. This works with old and new curl. (From OE-Core rev: 5548f9c87c6a10cda2baf6f198762380e55f6ae2) Signed-off-by: Jussi Kukkonen <jussi.kukkonen@intel.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
This commit is contained in:
committed by
Richard Purdie
parent
782cdf14e3
commit
a09aa675bb
@@ -38,7 +38,7 @@ index 06d4b30..0fe6d76 100644
|
||||
+ if (dltotal && percent && percent->end >= percent->start) {
|
||||
+ unsigned int diff = percent->end - percent->start;
|
||||
+ if (diff) {
|
||||
+ fprintf(stderr,"completed: "CURL_FORMAT_OFF_T"%%\r", percent->start + (diff * dlnow / dltotal));
|
||||
+ fprintf(stderr,"completed: %"CURL_FORMAT_CURL_OFF_T"%%\r", percent->start + (diff * dlnow / dltotal));
|
||||
+ }
|
||||
+ }
|
||||
+
|
||||
|
||||
Reference in New Issue
Block a user