diff options
| author | nijtmans <nijtmans> | 2008-07-19 22:50:38 (GMT) |
|---|---|---|
| committer | nijtmans <nijtmans> | 2008-07-19 22:50:38 (GMT) |
| commit | bf116d03858031a645b6b7f9bd67f8f784c8153c (patch) | |
| tree | c042d36466266a5022288e3db7d8d9a7dc6e81be /generic/tclBinary.c | |
| parent | b14c3ce33c3768549ca86339c729e53054bd3cfd (diff) | |
| download | tcl-bf116d03858031a645b6b7f9bd67f8f784c8153c.zip tcl-bf116d03858031a645b6b7f9bd67f8f784c8153c.tar.gz tcl-bf116d03858031a645b6b7f9bd67f8f784c8153c.tar.bz2 | |
fix [2021443] inconsistant "wrong # args" messages
Diffstat (limited to 'generic/tclBinary.c')
| -rw-r--r-- | generic/tclBinary.c | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/generic/tclBinary.c b/generic/tclBinary.c index 7a3473d..996812b 100644 --- a/generic/tclBinary.c +++ b/generic/tclBinary.c @@ -10,7 +10,7 @@ * See the file "license.terms" for information on usage and redistribution of * this file, and for a DISCLAIMER OF ALL WARRANTIES. * - * RCS: @(#) $Id: tclBinary.c,v 1.45 2008/06/05 00:02:38 das Exp $ + * RCS: @(#) $Id: tclBinary.c,v 1.46 2008/07/19 22:50:42 nijtmans Exp $ */ #include "tclInt.h" @@ -735,7 +735,7 @@ BinaryFormatCmd( int offset, size, length; if (objc < 2) { - Tcl_WrongNumArgs(interp, 1, objv, "formatString ?arg arg ...?"); + Tcl_WrongNumArgs(interp, 1, objv, "formatString ?arg ...?"); return TCL_ERROR; } @@ -1241,7 +1241,7 @@ BinaryScanCmd( if (objc < 3) { Tcl_WrongNumArgs(interp, 1, objv, - "value formatString ?varName varName ...?"); + "value formatString ?varName ...?"); return TCL_ERROR; } numberCachePtr = &numberCacheHash; |
