Michael Stefaniuc : cmd: Print the debug string instead of the pointer value.
Alexandre Julliard
julliard at winehq.org
Wed Apr 17 15:14:46 CDT 2013
Module: wine
Branch: master
Commit: 6899279bab92f8bcc4d14010b0dae20b3e2b5dbe
URL: http://source.winehq.org/git/wine.git/?a=commit;h=6899279bab92f8bcc4d14010b0dae20b3e2b5dbe
Author: Michael Stefaniuc <mstefani at redhat.de>
Date: Wed Apr 17 17:56:27 2013 +0200
cmd: Print the debug string instead of the pointer value.
---
programs/cmd/builtins.c | 3 +--
1 files changed, 1 insertions(+), 2 deletions(-)
diff --git a/programs/cmd/builtins.c b/programs/cmd/builtins.c
index 076b852..1d9fc15 100644
--- a/programs/cmd/builtins.c
+++ b/programs/cmd/builtins.c
@@ -1503,8 +1503,7 @@ static void WCMD_part_execute(CMD_LIST **cmdList, const WCHAR *firstcmd,
CMD_LIST *curPosition = *cmdList;
int myDepth = (*cmdList)->bracketDepth;
- WINE_TRACE("cmdList(%p), firstCmd(%p), doIt(%d)\n",
- cmdList, wine_dbgstr_w(firstcmd),
+ WINE_TRACE("cmdList(%p), firstCmd(%s), doIt(%d)\n", cmdList, wine_dbgstr_w(firstcmd),
executecmds);
/* Skip leading whitespace between condition and the command */
More information about the wine-cvs
mailing list