Skip to content
Snippets Groups Projects
Commit f2e52577 authored by Henrik (Grubba) Grubbström's avatar Henrik (Grubba) Grubbström
Browse files

Fixed minor bug.

Rev: src/module_support.c:1.11
parent a0f9ecee
No related branches found
No related tags found
No related merge requests found
......@@ -6,7 +6,7 @@
#include "pike_types.h"
#include "error.h"
RCSID("$Id: module_support.c,v 1.10 1998/04/10 23:29:59 grubba Exp $");
RCSID("$Id: module_support.c,v 1.11 1998/04/12 12:20:12 grubba Exp $");
/* Checks that args_to_check arguments are OK.
* Returns 1 if everything worked ok, zero otherwise.
......@@ -85,9 +85,9 @@ void check_all_args(const char *fnname, int args, ... )
{
case ERR_NONE: return;
case ERR_TOO_FEW:
new_error(fnname, "Too few arguments to %s()\n", sp, args, NULL, 0);
new_error(fnname, "Too few arguments.\n", sp, args, NULL, 0);
case ERR_TOO_MANY:
new_error(fnname, "Too many arguments to %s()\n", sp, args, NULL, 0);
new_error(fnname, "Too many arguments.\n", sp, args, NULL, 0);
case ERR_BAD_ARG:
{
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment