[libvirt] [PATCH] util: Fix error message in __virExec

Laine Stump laine at laine.org
Mon Dec 13 15:50:38 UTC 2010


On 12/13/2010 05:40 AM, Jiri Denemark wrote:
> 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;
>           }
>

ACK.




More information about the libvir-list mailing list