anitazha / rpms / systemd

Forked from rpms/systemd 3 years ago
Clone

Blame SOURCES/0079-libudev-default-log_priority-to-INFO.patch

572a44
From 1842d7a64410f099a454f341ecf0ad9d6682f8ec Mon Sep 17 00:00:00 2001
572a44
From: Tom Gundersen <teg@jklm.no>
572a44
Date: Wed, 30 Oct 2013 15:09:01 +0100
572a44
Subject: [PATCH] libudev: default log_priority to INFO
572a44
572a44
This brings it in sync with the default config file.
572a44
---
572a44
 src/libudev/libudev.c | 2 +-
572a44
 1 file changed, 1 insertion(+), 1 deletion(-)
572a44
572a44
diff --git a/src/libudev/libudev.c b/src/libudev/libudev.c
572a44
index 208039a..bc73a5a 100644
572a44
--- a/src/libudev/libudev.c
572a44
+++ b/src/libudev/libudev.c
572a44
@@ -125,7 +125,7 @@ _public_ struct udev *udev_new(void)
572a44
                 return NULL;
572a44
         udev->refcount = 1;
572a44
         udev->log_fn = log_stderr;
572a44
-        udev->log_priority = LOG_ERR;
572a44
+        udev->log_priority = LOG_INFO;
572a44
         udev_list_init(udev, &udev->properties_list, true);
572a44
 
572a44
         f = fopen("/etc/udev/udev.conf", "re");