summaryrefslogtreecommitdiffstats
path: root/unix/tclUnixChan.c
diff options
context:
space:
mode:
Diffstat (limited to 'unix/tclUnixChan.c')
-rw-r--r--unix/tclUnixChan.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/unix/tclUnixChan.c b/unix/tclUnixChan.c
index fc2280a..d0e47a8 100644
--- a/unix/tclUnixChan.c
+++ b/unix/tclUnixChan.c
@@ -775,7 +775,7 @@ FileGetOptionProc(
* general probe.
*/
- dictContents = Tcl_GetStringFromObj(dictObj, &dictLength);
+ dictContents = TclGetStringFromObj(dictObj, &dictLength);
Tcl_DStringAppend(dsPtr, dictContents, dictLength);
Tcl_DecrRefCount(dictObj);
return TCL_OK;