about summary refs log tree commit diff
path: root/Src/Builtins
diff options
context:
space:
mode:
Diffstat (limited to 'Src/Builtins')
-rw-r--r--Src/Builtins/sched.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/Src/Builtins/sched.c b/Src/Builtins/sched.c
index f00a0da38..4397b84c8 100644
--- a/Src/Builtins/sched.c
+++ b/Src/Builtins/sched.c
@@ -141,7 +141,7 @@ bin_sched(char *nam, char **argv, char *ops, int func)
     }
     /* The time has been calculated; now add the new entry to the linked list
     of scheduled commands. */
-    sch = (struct schedcmd *) zcalloc(sizeof *sch);
+    sch = (struct schedcmd *) zshcalloc(sizeof *sch);
     sch->time = t;
     sch->cmd = zjoin(argv, ' ', 0);
     sch->next = NULL;