summaryrefslogtreecommitdiff
path: root/src/libudev/libudev.c
diff options
context:
space:
mode:
authorKay Sievers <kay@vrfy.org>2014-11-13 11:42:24 +0100
committerKay Sievers <kay@vrfy.org>2014-11-13 11:42:24 +0100
commita974cacd9ac179599f3645409664ccb254ed6bbb (patch)
tree2387d69e70b0bb569779c5a535ad55ab51ae29ce /src/libudev/libudev.c
parent281e05b6cb406debe7b290e5aee8eae049671c14 (diff)
libudev: we do not log errors from libraries
Diffstat (limited to 'src/libudev/libudev.c')
-rw-r--r--src/libudev/libudev.c8
1 files changed, 4 insertions, 4 deletions
diff --git a/src/libudev/libudev.c b/src/libudev/libudev.c
index b1649b6514..6744658789 100644
--- a/src/libudev/libudev.c
+++ b/src/libudev/libudev.c
@@ -153,7 +153,7 @@ _public_ struct udev *udev_new(void)
/* split key/value */
val = strchr(key, '=');
if (val == NULL) {
- udev_err(udev, "/etc/udev/udev.conf:%u: missing assignment, skipping line.\n", line_nr);
+ udev_dbg(udev, "/etc/udev/udev.conf:%u: missing assignment, skipping line.\n", line_nr);
continue;
}
val[0] = '\0';
@@ -185,7 +185,7 @@ _public_ struct udev *udev_new(void)
/* unquote */
if (val[0] == '"' || val[0] == '\'') {
if (val[len-1] != val[0]) {
- udev_err(udev, "/etc/udev/udev.conf:%u: inconsistent quoting, skipping line.\n", line_nr);
+ udev_dbg(udev, "/etc/udev/udev.conf:%u: inconsistent quoting, skipping line.\n", line_nr);
continue;
}
val[len-1] = '\0';
@@ -197,7 +197,7 @@ _public_ struct udev *udev_new(void)
prio = util_log_priority(val);
if (prio < 0)
- udev_err(udev, "/etc/udev/udev.conf:%u: invalid log level '%s', ignoring.\n", line_nr, val);
+ udev_dbg(udev, "/etc/udev/udev.conf:%u: invalid log level '%s', ignoring.\n", line_nr, val);
else
udev_set_log_priority(udev, prio);
continue;
@@ -212,7 +212,7 @@ _public_ struct udev *udev_new(void)
prio = util_log_priority(env);
if (prio < 0)
- udev_err(udev, "$UDEV_LOG specifies invalid log level '%s', ignoring.\n", env);
+ udev_dbg(udev, "$UDEV_LOG specifies invalid log level '%s', ignoring.\n", env);
else
udev_set_log_priority(udev, prio);
}