[Pkg-libvirt-commits] [libguestfs] 11/14: v2v: Change fstrim message to warning.

Hilko Bengen bengen at moszumanska.debian.org
Sat Aug 30 08:29:06 UTC 2014


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

bengen pushed a commit to annotated tag upstream/1.27.20
in repository libguestfs.

commit 144a86ac8c4935c1ef5fdedba10144873ac70920
Author: Richard W.M. Jones <rjones at redhat.com>
Date:   Tue Jul 1 12:01:28 2014 +0100

    v2v: Change fstrim message to warning.
    
    This also ensures it is flushed and translated.
---
 v2v/v2v.ml | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/v2v/v2v.ml b/v2v/v2v.ml
index 2a9fce4..292bb43 100644
--- a/v2v/v2v.ml
+++ b/v2v/v2v.ml
@@ -143,7 +143,7 @@ let rec main () =
     List.iter (
       fun (_, mp) ->
         try g#fstrim mp
-        with G.Error msg -> eprintf "%s: %s (ignored)\n" mp msg
+        with G.Error msg -> warning ~prog (f_"%s: %s (ignored)") mp msg
     ) mps in
 
   msg (f_"Closing the overlay");

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