diff options
author | nijtmans <nijtmans> | 2011-01-18 08:43:53 (GMT) |
---|---|---|
committer | nijtmans <nijtmans> | 2011-01-18 08:43:53 (GMT) |
commit | 57ab68714417969c9ff520967d92a7e3dde7a66d (patch) | |
tree | af236c9f19fe93b1abae154034101646497a88d5 /generic/tclEnsemble.c | |
parent | 1dd5fbf51a42ff6449ede1d172e8f71952936965 (diff) | |
download | tcl-57ab68714417969c9ff520967d92a7e3dde7a66d.zip tcl-57ab68714417969c9ff520967d92a7e3dde7a66d.tar.gz tcl-57ab68714417969c9ff520967d92a7e3dde7a66d.tar.bz2 |
Various mismatches between Tcl_Panic format string and its arguments,
discovered thanks to [Bug 3159920]
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 { /* |