]> git.ipfire.org Git - thirdparty/valgrind.git/commitdiff
Add a %s for the error string...
authorTom Hughes <tom@compton.nu>
Wed, 24 May 2006 10:00:53 +0000 (10:00 +0000)
committerTom Hughes <tom@compton.nu>
Wed, 24 May 2006 10:00:53 +0000 (10:00 +0000)
git-svn-id: svn://svn.valgrind.org/valgrind/trunk@5925

coregrind/m_ume.c

index 546ca496cff90e01653c1845954ed0820e5d5345..1a321f3bbf948f50deb6b3238877ee75f7c56c5e 100644 (file)
@@ -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.