summaryrefslogtreecommitdiff
path: root/src/libudev/libudev-hwdb.c
diff options
context:
space:
mode:
authorAnthony G. Basile <blueness@gentoo.org>2014-11-16 08:44:52 -0500
committerAnthony G. Basile <blueness@gentoo.org>2014-11-16 08:44:52 -0500
commitd3ef837153dc1523d30cb160abfc35ab189d26fa (patch)
tree8e549358d9b182abd9c4b48e17fd1fed9b575fed /src/libudev/libudev-hwdb.c
parent5fe138cdda4eb51036062b4bddce258fe97e7b68 (diff)
src/udev: update the definition of udev_event_execute_rule
Signed-off-by: Anthony G. Basile <blueness@gentoo.org>
Diffstat (limited to 'src/libudev/libudev-hwdb.c')
-rw-r--r--src/libudev/libudev-hwdb.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/src/libudev/libudev-hwdb.c b/src/libudev/libudev-hwdb.c
index 5eecd56f80..3773f8f868 100644
--- a/src/libudev/libudev-hwdb.c
+++ b/src/libudev/libudev-hwdb.c
@@ -360,6 +360,7 @@ bool udev_hwdb_validate(struct udev_hwdb *hwdb) {
return false;
if (stat("/etc/udev/hwdb.bin", &st) < 0)
return true;
+
if (timespec_load(&hwdb->st.st_mtim) != timespec_load(&st.st_mtim))
return true;
return false;