[Libguestfs] [PATCH 04/12] Add progress messages to fill-pattern command.

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


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

diff --git a/daemon/fill.c b/daemon/fill.c
index a3e3d37..8686226 100644
--- a/daemon/fill.c
+++ b/daemon/fill.c
@@ -113,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) {
-- 
1.7.1




More information about the Libguestfs mailing list