summaryrefslogtreecommitdiff
path: root/Src/builtin.c
diff options
context:
space:
mode:
Diffstat (limited to 'Src/builtin.c')
-rw-r--r--Src/builtin.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/Src/builtin.c b/Src/builtin.c
index a3e7149d9..1ccbd6fb8 100644
--- a/Src/builtin.c
+++ b/Src/builtin.c
@@ -4379,7 +4379,7 @@ bin_read(char *name, char **args, Options ops, UNUSED(int func))
/* handle compctl case */
if(OPT_ISSET(ops,'l') || OPT_ISSET(ops,'c'))
- return compctlread(name, args, ops, reply);
+ return compctlreadptr(name, args, ops, reply);
if ((OPT_ISSET(ops,'k') && !OPT_ISSET(ops,'u') &&
!OPT_ISSET(ops,'p')) || OPT_ISSET(ops,'q')) {