[Pkg-libvirt-commits] [libguestfs] 143/165: v2v: string_of_overlay already has trailing \n, don't need to add one.

Hilko Bengen bengen at moszumanska.debian.org
Sat Aug 30 08:25:24 UTC 2014


This is an automated email from the git hooks/post-receive script.

bengen pushed a commit to branch experimental
in repository libguestfs.

commit 2f616342150c4fed21a443df23625367cfec886e
Author: Richard W.M. Jones <rjones at redhat.com>
Date:   Wed Jun 18 14:18:21 2014 +0100

    v2v: string_of_overlay already has trailing \n, don't need to add one.
---
 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

-- 
Alioth's /usr/local/bin/git-commit-notice on /srv/git.debian.org/git/pkg-libvirt/libguestfs.git



More information about the Pkg-libvirt-commits mailing list