From: Tom Hughes Date: Wed, 24 May 2006 10:00:53 +0000 (+0000) Subject: Add a %s for the error string... X-Git-Tag: svn/VALGRIND_3_2_0~34 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=eae7769bc69cef43a0587631514ad1e375c65329;p=thirdparty%2Fvalgrind.git Add a %s for the error string... git-svn-id: svn://svn.valgrind.org/valgrind/trunk@5925 --- diff --git a/coregrind/m_ume.c b/coregrind/m_ume.c index 546ca496cf..1a321f3bbf 100644 --- a/coregrind/m_ume.c +++ b/coregrind/m_ume.c @@ -792,7 +792,7 @@ static Int do_exec_shell_followup(Int ret, HChar* exe_name, // Otherwise it was something else. } else { - VG_(printf)("valgrind: %s\n", exe_name, VG_(strerror)(ret)); + VG_(printf)("valgrind: %s: %s\n", exe_name, VG_(strerror)(ret)); } // 126 means NOEXEC; I think this is Posix, and that in some cases we // should be returning 127, meaning NOTFOUND. Oh well.