Print failing command line in wineboot

Uwe Bonnes bon at elektron.ikp.physik.tu-darmstadt.de
Tue May 5 13:11:51 CDT 2009


--
 programs/wineboot/wineboot.c |    2 +-
 1 files changed, 1 insertions(+), 1 deletions(-)

diff --git a/programs/wineboot/wineboot.c b/programs/wineboot/wineboot.c
index c647fe6..0aec488 100644
--- a/programs/wineboot/wineboot.c
+++ b/programs/wineboot/wineboot.c
@@ -506,7 +506,7 @@ static BOOL ProcessRunKeys( HKEY hkRoot, LPCWSTR szKeyName, BOOL bDelete,
 
         if( (res=runCmd(szCmdLine, NULL, bSynchronous, FALSE ))==INVALID_RUNCMD_RETURN )
         {
-            WINE_ERR("Error running cmd #%d (%d)\n", i, GetLastError() );
+            WINE_ERR("Error running cmd %s (%d)\n", wine_dbgstr_w(szCmdLine), GetLastError() );
         }
 
         WINE_TRACE("Done processing cmd #%d\n", i);
-- 
1.6.0.2

-- 
Uwe Bonnes                bon at elektron.ikp.physik.tu-darmstadt.de

Institut fuer Kernphysik  Schlossgartenstrasse 9  64289 Darmstadt
--------- Tel. 06151 162516 -------- Fax. 06151 164321 ----------



More information about the wine-patches mailing list