hplip/hplip-3.12.9-syslog-fix-debug-messages-to-error.dpatch
2012-09-13 04:19:03 +00:00

11 lines
540 B
Text

--- hplip-3.12.9/prnt/hpcups/CommonDefinitions.h.hplip-syslog-fix-debug-messages-to-error 2012-09-04 14:31:10.000000000 +0200
+++ hplip-3.12.9/prnt/hpcups/CommonDefinitions.h 2012-09-11 16:45:05.873220203 +0200
@@ -68,7 +68,7 @@
#define _STRINGIZE(x) #x
#define STRINGIZE(x) _STRINGIZE(x)
-#define dbglog(args...) {syslog(LOG_ERR, __FILE__ " " STRINGIZE(__LINE__) ": " args); \
+#define dbglog(args...) {syslog(LOG_DEBUG, __FILE__ " " STRINGIZE(__LINE__) ": " args); \
fprintf(stderr, __FILE__ " " STRINGIZE(__LINE__) ": " args);}