summaryrefslogtreecommitdiffabout
path: root/src/job.c
Side-by-side diff
Diffstat (limited to 'src/job.c') (more/less context) (ignore whitespace changes)
-rw-r--r--src/job.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/job.c b/src/job.c
index 7e3fdf5..764e463 100644
--- a/src/job.c
+++ b/src/job.c
@@ -202,13 +202,13 @@ schedule_job (const struct spool *spool, uid_t uid)
logmsg (LOG_DEBUG, _("scheduling job: %s, %lu"),
spool->tag, (unsigned long)uid);
job = job_locate (spool, uid);
if (!job)
{
- job = xzalloc (sizeof (*job));
+ job = grecs_zalloc (sizeof (*job));
job->spool = spool;
job->uid = uid;
job->pid = -1;
time (&job->timestamp);
job_insert (job, NULL);
}

Return to:

Send suggestions and report system problems to the System administrator.