From: Joel Rosdahl Date: Tue, 19 Jul 2011 20:02:57 +0000 (+0200) Subject: Improve error message in case of failed execv() X-Git-Tag: v3.2~198 X-Git-Url: http://git.ipfire.org/gitweb.cgi?a=commitdiff_plain;h=a1b49e2ba405e63bf0975e4d5c0439bd5592081c;p=thirdparty%2Fccache.git Improve error message in case of failed execv() --- diff --git a/ccache.c b/ccache.c index 714ed305c..978da4084 100644 --- a/ccache.c +++ b/ccache.c @@ -229,7 +229,7 @@ failed(void) cc_log_argv("Executing ", orig_args->argv); exitfn_call(); execv(orig_args->argv[0], orig_args->argv); - fatal("%s: execv returned (%s)", orig_args->argv[0], strerror(errno)); + fatal("execv of %s failed: %s", orig_args->argv[0], strerror(errno)); } static void