aboutsummaryrefslogtreecommitdiff
path: root/Src/prompt.c
diff options
context:
space:
mode:
Diffstat (limited to 'Src/prompt.c')
-rw-r--r--Src/prompt.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/Src/prompt.c b/Src/prompt.c
index d5df9d1ce..43dc12bee 100644
--- a/Src/prompt.c
+++ b/Src/prompt.c
@@ -171,7 +171,7 @@ promptexpand(char *s, int ns, char *rs, char *Rs)
rstring = rs;
Rstring = Rs;
fm = s;
- bp = bufline = buf = zcalloc(bufspc = 256);
+ bp = bufline = buf = zshcalloc(bufspc = 256);
bp1 = NULL;
trunclen = 0;
putpromptchar(1, '\0');