]> git.ipfire.org Git - thirdparty/cups.git/blobdiff - scheduler/log.c
Same as Lutz Heermann, but for PageLog - respect PageLog configuration when compiled...
[thirdparty/cups.git] / scheduler / log.c
index 18d916f5f1ca7fd1690b768ff221cb632f1347d7..74790dc35968b426a406ba81044bcc91f47051f5 100644 (file)
@@ -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 */