summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authordkf <dkf@noemail.net>2012-11-15 01:44:12 (GMT)
committerdkf <dkf@noemail.net>2012-11-15 01:44:12 (GMT)
commit6c9ed7dca1a1982a7ace0f0851f5b91b4e8b4ecc (patch)
tree12e846026470f13d35e136127d77c0f1ce85e919
parent04f6194e9b543f2be727c84d1451a54b86b6f3db (diff)
downloadtcl-6c9ed7dca1a1982a7ace0f0851f5b91b4e8b4ecc.zip
tcl-6c9ed7dca1a1982a7ace0f0851f5b91b4e8b4ecc.tar.gz
tcl-6c9ed7dca1a1982a7ace0f0851f5b91b4e8b4ecc.tar.bz2
unbreak trunk; fix some warnings
FossilOrigin-Name: 3bb8276262484423356c1ded7e29f205095aeb33
-rw-r--r--unix/tclLoadDyld.c3
1 files changed, 2 insertions, 1 deletions
diff --git a/unix/tclLoadDyld.c b/unix/tclLoadDyld.c
index 5df022e..50c283d 100644
--- a/unix/tclLoadDyld.c
+++ b/unix/tclLoadDyld.c
@@ -205,6 +205,7 @@ TclpDlopen(
* Let the OS loader examine the binary search path for whatever string
* the user gave us which hopefully refers to a file on the binary
* path.
+ */
dlHandle = dlopen(nativeFileName, dlopenflags);
if (!dlHandle) {
@@ -661,7 +662,7 @@ TclpLoadMemory(
vm_deallocate(mach_task_self(), (vm_address_t) buffer, size);
if (objFileImageErrMsg != NULL) {
Tcl_SetObjResult(interp, Tcl_ObjPrintf(
- "NSCreateObjectFileImageFromMemory() error: ",
+ "NSCreateObjectFileImageFromMemory() error: %s",
objFileImageErrMsg));
}
return TCL_ERROR;