aboutsummaryrefslogtreecommitdiff
path: root/lbuiltin.c
diff options
context:
space:
mode:
Diffstat (limited to 'lbuiltin.c')
-rw-r--r--lbuiltin.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/lbuiltin.c b/lbuiltin.c
index f2821bdb..c37d4eb0 100644
--- a/lbuiltin.c
+++ b/lbuiltin.c
@@ -1,5 +1,5 @@
1/* 1/*
2** $Id: lbuiltin.c,v 1.66 1999/10/11 16:13:11 roberto Exp roberto $ 2** $Id: lbuiltin.c,v 1.67 1999/10/14 19:13:31 roberto Exp roberto $
3** Built-in functions 3** Built-in functions
4** See Copyright Notice in lua.h 4** See Copyright Notice in lua.h
5*/ 5*/
@@ -671,7 +671,7 @@ static void extra_services (void) {
671 lua_settagmethod(luaL_check_int(2), "gc"); 671 lua_settagmethod(luaL_check_int(2), "gc");
672 break; 672 break;
673 673
674 default: luaL_arg_check(0, 1, "invalid service"); 674 default: luaL_argerror(1, "invalid service");
675 } 675 }
676} 676}
677 677