diff options
author | nijtmans <nijtmans> | 2011-01-18 08:43:53 (GMT) |
---|---|---|
committer | nijtmans <nijtmans> | 2011-01-18 08:43:53 (GMT) |
commit | 50fc32636cb261f94ea5b9487469b44ef02805ef (patch) | |
tree | af236c9f19fe93b1abae154034101646497a88d5 /generic/tclEnsemble.c | |
parent | 88fd055e9b48b6a590c4a74db0f1d227319155f7 (diff) | |
download | tcl-50fc32636cb261f94ea5b9487469b44ef02805ef.zip tcl-50fc32636cb261f94ea5b9487469b44ef02805ef.tar.gz tcl-50fc32636cb261f94ea5b9487469b44ef02805ef.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 { /* |