aboutsummaryrefslogtreecommitdiffstats
path: root/ext.c
diff options
context:
space:
mode:
Diffstat (limited to 'ext.c')
-rw-r--r--ext.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/ext.c b/ext.c
index 3f4b95f8..5fc16afe 100644
--- a/ext.c
+++ b/ext.c
@@ -86,7 +86,7 @@ make_builtin(const awk_ext_func_t *funcinfo)
const char *sp;
char c;
const char *name = funcinfo->name;
- int count = funcinfo->num_args_expected;
+ int count = funcinfo->num_expected_args;
sp = name;
if (sp == NULL || *sp == '\0')