diff options
Diffstat (limited to 'src/job.c')
-rw-r--r-- | src/job.c | 2 |
1 files changed, 1 insertions, 1 deletions
@@ -196,25 +196,25 @@ schedule_job (const struct spool *spool, uid_t uid) struct job *job; if (!spool) spool = &fake_spool; if (debug_level) 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); } job->state |= STATE_QUEUED; job_start (job); } static void |