aboutsummaryrefslogtreecommitdiffstats
path: root/extension/filefuncs.c
diff options
context:
space:
mode:
Diffstat (limited to 'extension/filefuncs.c')
-rw-r--r--extension/filefuncs.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/extension/filefuncs.c b/extension/filefuncs.c
index 85c05b2e..4f7173b4 100644
--- a/extension/filefuncs.c
+++ b/extension/filefuncs.c
@@ -406,8 +406,8 @@ init_filefuncs(void)
for (i = 0; opentab[i].name != NULL; i++) {
(void) make_number(opentab[i].value, & value);
- if (! sym_constant(opentab[i].name, & value)) {
- warning(ext_id, _("fts init: could not create constant %s"),
+ if (! sym_update(opentab[i].name, & value)) {
+ warning(ext_id, _("fts init: could not create variable %s"),
opentab[i].name);
errors++;
}