diff --git a/src/builtin_functions.c b/src/builtin_functions.c index 76994fca7960f3766813526fdd809f61aead0e2c..043c2fe54df5637929649d51a58f2c0158b3ef33 100644 --- a/src/builtin_functions.c +++ b/src/builtin_functions.c @@ -5,7 +5,7 @@ \*/ /**/ #include "global.h" -RCSID("$Id: builtin_functions.c,v 1.325 2000/12/18 21:38:00 grubba Exp $"); +RCSID("$Id: builtin_functions.c,v 1.326 2001/01/03 20:29:28 mast Exp $"); #include "interpret.h" #include "svalue.h" #include "pike_macros.h" @@ -4245,9 +4245,9 @@ PMOD_EXPORT void f_permute( INT32 args ) if( args != 2 ) SIMPLE_TOO_FEW_ARGS_ERROR("permute", 2); if( Pike_sp[ -2 ].type != T_ARRAY ) - SIMPLE_BAD_ARG_ERROR("diff", 1, "array"); + SIMPLE_BAD_ARG_ERROR("permute", 1, "array"); if (Pike_sp[ -1 ].type != T_INT) - SIMPLE_BAD_ARG_ERROR("diff", 2, "int"); + SIMPLE_BAD_ARG_ERROR("permute", 2, "int"); n = Pike_sp[ -1 ].u.integer; a = copy_array( Pike_sp[ -2 ].u.array );