summaryrefslogtreecommitdiffstats
path: root/win/tkWinWm.c
diff options
context:
space:
mode:
Diffstat (limited to 'win/tkWinWm.c')
-rw-r--r--win/tkWinWm.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/win/tkWinWm.c b/win/tkWinWm.c
index e353813..dc5d4d9 100644
--- a/win/tkWinWm.c
+++ b/win/tkWinWm.c
@@ -1681,7 +1681,7 @@ ReadIconOrCursorFromFile(
(int) lpIDE[i].dwBytesInRes);
if (dwBytesRead != lpIDE[i].dwBytesInRes) {
Tcl_SetObjResult(interp, Tcl_ObjPrintf(
- "error reading file: ", Tcl_PosixError(interp)));
+ "error reading file: %s", Tcl_PosixError(interp)));
goto readError;
}