]> git.ipfire.org Git - thirdparty/cups.git/blobdiff - backend/snmp.c
Fix backend logging from signal handlers (OpenPrinting #167)
[thirdparty/cups.git] / backend / snmp.c
index 9572822a8e412c6e775f770ce50298621fbfd7a5..084c6f5118a28388c31000c68b6741ba40c38455 100644 (file)
@@ -424,7 +424,7 @@ alarm_handler(int sig)                      /* I - Signal number */
 #endif /* !HAVE_SIGSET && !HAVE_SIGACTION */
 
   if (DebugLevel)
-    write(2, "DEBUG: ALARM!\n", 14);
+    backendMessage("DEBUG: ALARM!\n");
 }