diff options
author | jan.nijtmans <nijtmans@users.sourceforge.net> | 2012-07-08 10:26:20 (GMT) |
---|---|---|
committer | jan.nijtmans <nijtmans@users.sourceforge.net> | 2012-07-08 10:26:20 (GMT) |
commit | 5861e21598de0fa797735436c93a90ca3b32bc24 (patch) | |
tree | 65bcab8bf14f7d9e3c1e1b6f877c786c6e6c2d2f /win/tclWinChan.c | |
parent | 81e496741b55cf661f300b8eda4eba3a91010fb1 (diff) | |
download | tcl-5861e21598de0fa797735436c93a90ca3b32bc24.zip tcl-5861e21598de0fa797735436c93a90ca3b32bc24.tar.gz tcl-5861e21598de0fa797735436c93a90ca3b32bc24.tar.bz2 |
and don't forget the %
Diffstat (limited to 'win/tclWinChan.c')
-rw-r--r-- | win/tclWinChan.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/win/tclWinChan.c b/win/tclWinChan.c index a20cb8f..8aa2772 100644 --- a/win/tclWinChan.c +++ b/win/tclWinChan.c @@ -1337,7 +1337,7 @@ TclWinOpenFileChannel( infoPtr->flags = appendMode; infoPtr->handle = handle; infoPtr->dirty = 0; - sprintf(channelName, "file" TCL_I_MODIFIER "x", (size_t)infoPtr); + sprintf(channelName, "file%" TCL_I_MODIFIER "x", (size_t)infoPtr); infoPtr->channel = Tcl_CreateChannel(&fileChannelType, channelName, (ClientData) infoPtr, permissions); |