summaryrefslogtreecommitdiffstats
path: root/win/tclWinConsole.c
diff options
context:
space:
mode:
authornijtmans@users.sourceforge.net <jan.nijtmans>2012-07-08 10:26:20 (GMT)
committernijtmans@users.sourceforge.net <jan.nijtmans>2012-07-08 10:26:20 (GMT)
commit735c315d947f942d1ada39acef711cadb6d636f8 (patch)
tree65bcab8bf14f7d9e3c1e1b6f877c786c6e6c2d2f /win/tclWinConsole.c
parent10c32a67b9fa76f94d6f0762cc3ec9b0e9ca3685 (diff)
downloadtcl-735c315d947f942d1ada39acef711cadb6d636f8.zip
tcl-735c315d947f942d1ada39acef711cadb6d636f8.tar.gz
tcl-735c315d947f942d1ada39acef711cadb6d636f8.tar.bz2
and don't forget the %
Diffstat (limited to 'win/tclWinConsole.c')
-rw-r--r--win/tclWinConsole.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/win/tclWinConsole.c b/win/tclWinConsole.c
index a86608c..ea295fe 100644
--- a/win/tclWinConsole.c
+++ b/win/tclWinConsole.c
@@ -1362,7 +1362,7 @@ TclWinOpenConsoleChannel(
* for instance).
*/
- sprintf(channelName, "file" TCL_I_MODIFIER "x", (size_t)infoPtr);
+ sprintf(channelName, "file%" TCL_I_MODIFIER "x", (size_t)infoPtr);
infoPtr->channel = Tcl_CreateChannel(&consoleChannelType, channelName,
(ClientData) infoPtr, permissions);