X-Git-Url: https://git.ozlabs.org/?a=blobdiff_plain;f=discover%2Fdevice-handler.c;h=7a570f9e612da52ff7d098ee2e7ec8ac6eb3bb23;hb=b6e83bb17299987bdd64a46669c62ea524dd133b;hp=82230154ba77d9a314f50d3a41fe184837197d40;hpb=a2d5a3e3cb55fe3583acaae44fabc7c3d7f8df50;p=petitboot diff --git a/discover/device-handler.c b/discover/device-handler.c index 8223015..7a570f9 100644 --- a/discover/device-handler.c +++ b/discover/device-handler.c @@ -1,4 +1,5 @@ #include +#include #include #include #include @@ -653,7 +654,7 @@ void device_handler_status_download(struct device_handler *handler, unit++; } update = talloc_asprintf(handler, - _("%u %s downloading: %.0f%% - %lu%cB"), + _("%u %s downloading: %.0f%% - %" PRIu64 "%cB"), handler->n_progress, ngettext("item", "items", handler->n_progress), (current / total) * 100, current_converted,