diff options
Diffstat (limited to 'tclxml/tclxslt-libxslt.c')
-rw-r--r-- | tclxml/tclxslt-libxslt.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/tclxml/tclxslt-libxslt.c b/tclxml/tclxslt-libxslt.c index 9155f0e..73e0f61 100644 --- a/tclxml/tclxslt-libxslt.c +++ b/tclxml/tclxslt-libxslt.c @@ -1507,7 +1507,7 @@ TclXSLTExtFunction(xpathCtxt, nargs) valuePush(xpathCtxt, obj); } else { xmlGenericError(xmlGenericErrorContext, - Tcl_GetStringFromObj(resultPtr, NULL)); + "%s", Tcl_GetStringFromObj(resultPtr, NULL)); /* Need to define a new error code - this is the closest in meaning */ xpathCtxt->error = XPATH_UNKNOWN_FUNC_ERROR; } |