summaryrefslogtreecommitdiff
path: root/pez.c
diff options
context:
space:
mode:
Diffstat (limited to 'pez.c')
-rw-r--r--pez.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/pez.c b/pez.c
index eceacc9..d7db3e7 100644
--- a/pez.c
+++ b/pez.c
@@ -2022,7 +2022,7 @@ static bool
f_arraypush(PezContext *cx, int argc)
{
Array *arr;
- TRY(pez_checksig(cx, argc, "array#fill", "array, any"));
+ TRY(pez_checksig(cx, argc, "array#push", "array, any"));
assert(isobj_of(cx->stktop[-2], PEZ_TArray));
arr = unbox_obj(cx->stktop[-2]);
TRY(arrpushn(cx, arr, peek(cx), 1));