[Libguestfs] [PATCH 04/14] v2v: string_of_overlay already has trailing \n, don't need to add one.

Richard W.M. Jones rjones at redhat.com
Mon Jun 23 11:32:20 UTC 2014


---
 v2v/v2v.ml | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/v2v/v2v.ml b/v2v/v2v.ml
index 4e64b99..fd6c049 100644
--- a/v2v/v2v.ml
+++ b/v2v/v2v.ml
@@ -162,7 +162,7 @@ let rec main () =
     fun i ov ->
       msg (f_"Copying disk %d/%d to %s (%s)")
         (i+1) nr_overlays ov.ov_target_file ov.ov_target_format;
-      if verbose then printf "%s\n%!" (string_of_overlay ov);
+      if verbose then printf "%s%!" (string_of_overlay ov);
 
       (* It turns out that libguestfs's disk creation code is
        * considerably more flexible and easier to use than qemu-img, so
-- 
1.9.0




More information about the Libguestfs mailing list