richardphibel / rpms / systemd

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