[Libguestfs] [PATCH 03/12] Add progress messages to fill command.

Richard Jones rjones at redhat.com
Tue Aug 31 20:11:09 UTC 2010


---
 daemon/fill.c |    1 +
 1 files changed, 1 insertions(+), 0 deletions(-)

diff --git a/daemon/fill.c b/daemon/fill.c
index 807ee39..a3e3d37 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) {
-- 
1.7.1




More information about the Libguestfs mailing list