summaryrefslogtreecommitdiff
path: root/src/libudev/libudev-device-private.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-device-private.c
parent281e05b6cb406debe7b290e5aee8eae049671c14 (diff)
libudev: we do not log errors from libraries
Diffstat (limited to 'src/libudev/libudev-device-private.c')
-rw-r--r--src/libudev/libudev-device-private.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/libudev/libudev-device-private.c b/src/libudev/libudev-device-private.c
index 637d064819..d80100cd61 100644
--- a/src/libudev/libudev-device-private.c
+++ b/src/libudev/libudev-device-private.c
@@ -130,8 +130,8 @@ int udev_device_update_db(struct udev_device *udev_device)
mkdir_parents(filename_tmp, 0755);
f = fopen(filename_tmp, "we");
if (f == NULL) {
- udev_err(udev, "unable to create temporary db file '%s': %m\n", filename_tmp);
- return -1;
+ udev_dbg(udev, "unable to create temporary db file '%s': %m\n", filename_tmp);
+ return -errno;
}
/*