chiark
/
gitweb
/
~ianmdlvl
/
elogind.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
treewide: use log_*_errno whenever %m is in the format string
[elogind.git]
/
src
/
libudev
/
libudev-device.c
diff --git
a/src/libudev/libudev-device.c
b/src/libudev/libudev-device.c
index fc7d9287217e77cab2b3900b721f1e3476addb59..400fb74d83e204bdb5686da872b9b5705fa2c4e3 100644
(file)
--- a/
src/libudev/libudev-device.c
+++ b/
src/libudev/libudev-device.c
@@
-535,7
+535,7
@@
int udev_device_read_db(struct udev_device *udev_device, const char *dbfile)
f = fopen(dbfile, "re");
if (f == NULL) {
- log_debug
(
"no db file to read %s: %m", dbfile);
+ log_debug
_errno(errno,
"no db file to read %s: %m", dbfile);
return -errno;
}