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 10a42210..609b3b2b 100644
--- a/ext.c
+++ b/ext.c
@@ -136,7 +136,7 @@ make_builtin(const awk_ext_func_t *funcinfo)
b = bcalloc(Op_symbol, 1, 0);
b->extfunc = funcinfo->function;
- b->expr_count = count;
+ b->c_func = (awk_ext_func_t *) funcinfo;
/* NB: extension sub must return something */