X-Git-Url: http://git.ozlabs.org/?p=petitboot;a=blobdiff_plain;f=discover%2Fpaths.c;h=c0e2b0638a2e59f8c1d84616620f0ae167741842;hp=45988c1ab76b9023e5053b8fb3c4b33aac2d0631;hb=f0e038a4b21edeab8cd5e6a0aa7439d882bbabef;hpb=1effde766f4cfc9fbf8fa7b539bebbeca59cb691 diff --git a/discover/paths.c b/discover/paths.c index 45988c1..c0e2b06 100644 --- a/discover/paths.c +++ b/discover/paths.c @@ -184,8 +184,10 @@ static int busybox_progress_cb(void *arg) } } - if (rc != 3) + if (rc != 3) { percentage = size = 0; + suffix = ' '; + } device_handler_status_download(handler, procinfo, percentage, size, suffix);