[Libguestfs] [PATCH] GuestOS::RedHat: Fix internationalisation bug

Matthew Booth mbooth at redhat.com
Thu Sep 3 08:20:29 UTC 2009


---
 perl/lib/Sys/VirtV2V/GuestOS/RedHat.pm |    3 ++-
 1 files changed, 2 insertions(+), 1 deletions(-)

diff --git a/perl/lib/Sys/VirtV2V/GuestOS/RedHat.pm b/perl/lib/Sys/VirtV2V/GuestOS/RedHat.pm
index 87a30c7..3d85c99 100644
--- a/perl/lib/Sys/VirtV2V/GuestOS/RedHat.pm
+++ b/perl/lib/Sys/VirtV2V/GuestOS/RedHat.pm
@@ -165,7 +165,8 @@ sub _init_selinux
 
         if($@) {
             print STDERR "virt-v2v: ".
-                         __"WARNING unable to configure SELinux: "."$!\n";
+                         _x("WARNING unable to configure SELinux: {error})",
+                            error => $!)."\n";
         }
     }
 }
-- 
1.6.2.5




More information about the Libguestfs mailing list