summaryrefslogtreecommitdiffstats
path: root/win/tclWinSerial.c
diff options
context:
space:
mode:
authorjan.nijtmans <nijtmans@users.sourceforge.net>2012-07-08 10:26:20 (GMT)
committerjan.nijtmans <nijtmans@users.sourceforge.net>2012-07-08 10:26:20 (GMT)
commit144e5850fb84e5be697789d2c35577a63f0b12dd (patch)
tree65bcab8bf14f7d9e3c1e1b6f877c786c6e6c2d2f /win/tclWinSerial.c
parent7976f45d25a13d51281a508362c232fa5bc770f1 (diff)
downloadtcl-144e5850fb84e5be697789d2c35577a63f0b12dd.zip
tcl-144e5850fb84e5be697789d2c35577a63f0b12dd.tar.gz
tcl-144e5850fb84e5be697789d2c35577a63f0b12dd.tar.bz2
and don't forget the %
Diffstat (limited to 'win/tclWinSerial.c')
-rw-r--r--win/tclWinSerial.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/win/tclWinSerial.c b/win/tclWinSerial.c
index 1417c9c..62eafda 100644
--- a/win/tclWinSerial.c
+++ b/win/tclWinSerial.c
@@ -1499,7 +1499,7 @@ TclWinOpenSerialChannel(
* are shared between multiple channels (stdin/stdout).
*/
- sprintf(channelName, "file" TCL_I_MODIFIER "x", (size_t)infoPtr);
+ sprintf(channelName, "file%" TCL_I_MODIFIER "x", (size_t)infoPtr);
infoPtr->channel = Tcl_CreateChannel(&serialChannelType, channelName,
(ClientData) infoPtr, permissions);