]> git.ipfire.org Git - thirdparty/cups-filters.git/commitdiff
foomatic-rip: `rip_die()` did not relay error to cupsd (#649)
authorzdohnal <zdohnal@redhat.com>
Wed, 30 Jul 2025 11:55:30 +0000 (13:55 +0200)
committerGitHub <noreply@github.com>
Wed, 30 Jul 2025 11:55:30 +0000 (13:55 +0200)
The function which is used to report error was using incorrect format
for cupsd to process it as error, causing hiding its error messages.

filter/foomatic-rip/util.c

index 508bc09589f05078236d2206bea48eabfcf2a98f..ad79fbf9c11c425392ccff73c3e38390064aa806 100644 (file)
@@ -76,7 +76,7 @@ rip_die(int status,
 {
   va_list ap;
 
-  _log("Process is dying with \"");
+  _log("ERROR: Process is dying with \"");
   va_start(ap, msg);
   _logv(msg, ap);
   va_end(ap);