diff options
author | nijtmans <nijtmans@noemail.net> | 2011-01-18 08:43:53 (GMT) |
---|---|---|
committer | nijtmans <nijtmans@noemail.net> | 2011-01-18 08:43:53 (GMT) |
commit | 5699815e3131869e237046a9e0959d7d4a1c745a (patch) | |
tree | af236c9f19fe93b1abae154034101646497a88d5 /generic/tclEnsemble.c | |
parent | 959db7fbd7f8ef20107f6878e68d744ddc0ac92b (diff) | |
download | tcl-5699815e3131869e237046a9e0959d7d4a1c745a.zip tcl-5699815e3131869e237046a9e0959d7d4a1c745a.tar.gz tcl-5699815e3131869e237046a9e0959d7d4a1c745a.tar.bz2 |
Various mismatches between Tcl_Panic format string and its arguments,
discovered thanks to [Bug 3159920]
FossilOrigin-Name: 964a1a5a57cc4c71eb25da444d9f804bac32e8d4
Diffstat (limited to 'generic/tclEnsemble.c')
-rw-r--r-- | generic/tclEnsemble.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/generic/tclEnsemble.c b/generic/tclEnsemble.c index cfdeb94..ae90b9b 100644 --- a/generic/tclEnsemble.c +++ b/generic/tclEnsemble.c @@ -9,7 +9,7 @@ * See the file "license.terms" for information on usage and redistribution of * this file, and for a DISCLAIMER OF ALL WARRANTIES. * - * RCS: @(#) $Id: tclEnsemble.c,v 1.6 2010/12/09 15:09:07 dkf Exp $ + * RCS: @(#) $Id: tclEnsemble.c,v 1.7 2011/01/18 08:43:53 nijtmans Exp $ */ #include "tclInt.h" @@ -1513,7 +1513,7 @@ TclMakeEnsemble( Tcl_DStringSetLength(&hiddenBuf, hiddenLen); if (Tcl_HideCommand(interp, "___tmp", Tcl_DStringAppend(&hiddenBuf, map[i].name, -1))) { - Tcl_Panic(Tcl_GetString(Tcl_GetObjResult(interp))); + Tcl_Panic("%s", Tcl_GetString(Tcl_GetObjResult(interp))); } } else { /* |