void-packages/srcpkgs/acpid/patches/disable-logging-to-console.patch
Juan RP 78411f2615 acpid: disable logging to console (LOG_CONS).
There's no reason to spam the console with those messages by default.
2015-02-06 20:33:44 +01:00

12 lines
289 B
Diff

--- acpid.c.orig 2015-02-06 20:32:04.341695981 +0100
+++ acpid.c 2015-02-06 20:32:13.540974475 +0100
@@ -390,7 +390,7 @@ open_log(void)
int log_opts;
/* open the syslog */
- log_opts = LOG_CONS|LOG_NDELAY;
+ log_opts = LOG_NDELAY;
if (acpid_debug) {
log_opts |= LOG_PERROR;
}