summaryrefslogtreecommitdiff
path: root/scheduler/log.c
diff options
context:
space:
mode:
authorZdenek Dohnal <zdohnal@redhat.com>2018-01-29 12:48:29 +0100
committerZdenek Dohnal <zdohnal@redhat.com>2018-01-29 12:48:29 +0100
commitaed3d896a7f6becab027c1eb0ef0f0e32b299731 (patch)
treec5fd3f3084807811de79d683d613360680763a5c /scheduler/log.c
parenta492d345e80d7a2095ed3afa44f22b68df7d9fdf (diff)
downloadcups-aed3d896a7f6becab027c1eb0ef0f0e32b299731.tar.gz
Same as Lutz Heermann, but for PageLog - respect PageLog configuration when compiled with journald
Diffstat (limited to 'scheduler/log.c')
-rw-r--r--scheduler/log.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/scheduler/log.c b/scheduler/log.c
index 18d916f5f..74790dc35 100644
--- a/scheduler/log.c
+++ b/scheduler/log.c
@@ -956,7 +956,7 @@ cupsdLogPage(cupsd_job_t *job, /* I - Job being printed */
*bufptr = '\0';
#ifdef HAVE_SYSTEMD_SD_JOURNAL_H
- if (!strcmp(ErrorLog, "syslog"))
+ if (!strcmp(PageLog, "syslog"))
{
static const char * const job_states[] =
{ /* job-state strings */