[PATCH] util: Fix error message in __virExec

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

 



Remove superfluous ": %s" suffix from the error message.
---
 src/util/util.c |    2 +-
 1 files changed, 1 insertions(+), 1 deletions(-)

diff --git a/src/util/util.c b/src/util/util.c
index 1b5bc68..e24facb 100644
--- a/src/util/util.c
+++ b/src/util/util.c
@@ -617,7 +617,7 @@ __virExec(const char *const*argv,
 
         if (chdir("/") < 0) {
             virReportSystemError(errno,
-                                 "%s", _("cannot change to root directory: %s"));
+                                 "%s", _("cannot change to root directory"));
             goto fork_error;
         }
 
-- 
1.7.3.3

--
libvir-list mailing list
libvir-list@xxxxxxxxxx
https://www.redhat.com/mailman/listinfo/libvir-list


[Index of Archives]     [Virt Tools]     [Libvirt Users]     [Lib OS Info]     [Fedora Users]     [Fedora Desktop]     [Fedora SELinux]     [Big List of Linux Books]     [Yosemite News]     [KDE Users]     [Fedora Tools]