X-Git-Url: http://git.annexia.org/?p=libguestfs.git;a=blobdiff_plain;f=daemon%2Ffill.c;h=8686226f4ebf566b640dda105cbc6e712480d0d2;hp=807ee390f1fe78883d52b2f75a794e6125e89e31;hb=133a92be6948ff7e65bfecb7be70b15f4336d2af;hpb=0c1e77219ea264a51b62e648003bfbea51db8ffb diff --git a/daemon/fill.c b/daemon/fill.c index 807ee39..8686226 100644 --- a/daemon/fill.c +++ b/daemon/fill.c @@ -66,6 +66,7 @@ do_fill (int c, int len, const char *path) return -1; } n += r; + notify_progress ((uint64_t) n, (uint64_t) len_sz); } if (close (fd) == -1) { @@ -112,6 +113,7 @@ do_fill_pattern (const char *pattern, int len, const char *path) return -1; } n += wrlen; + notify_progress ((uint64_t) n, (uint64_t) len_sz); } if (close (fd) == -1) {