chiark
/
gitweb
/
~ianmdlvl
/
elogind.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
rtnl: move set_link_properties to rtnl-utils
[elogind.git]
/
src
/
libudev
/
libudev-hwdb.c
diff --git
a/src/libudev/libudev-hwdb.c
b/src/libudev/libudev-hwdb.c
index 5645a11437c7d100cd1d177e41ef50d30516d7d1..de1cb831885016b3236d74be66fe4b289afc39b4 100644
(file)
--- a/
src/libudev/libudev-hwdb.c
+++ b/
src/libudev/libudev-hwdb.c
@@
-358,7
+358,7
@@
bool udev_hwdb_validate(struct udev_hwdb *hwdb) {
return false;
if (!hwdb->f)
return false;
- if (
fstat(fileno(hwdb->f)
, &st) < 0)
+ if (
stat("/etc/udev/hwdb.bin"
, &st) < 0)
return true;
if (timespec_load(&hwdb->st.st_mtim) != timespec_load(&st.st_mtim))
return true;