[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]

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



---
 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


[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]