]> git.ipfire.org Git - thirdparty/libvirt.git/commitdiff
util: Fix error message in __virExec
authorJiri Denemark <jdenemar@redhat.com>
Mon, 13 Dec 2010 10:36:52 +0000 (11:36 +0100)
committerJiri Denemark <jdenemar@redhat.com>
Tue, 14 Dec 2010 09:53:35 +0000 (10:53 +0100)
Remove superfluous ": %s" suffix from the error message.

src/util/util.c

index 41dbefd294c2f6c0279a617a2fa056fae88f09cb..7d3377b5046f0ea8dbb571ebb839a7b404ae17c2 100644 (file)
@@ -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;
         }