chiark
/
gitweb
/
~ianmdlvl
/
elogind.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
udev: use usec_t and now()
[elogind.git]
/
src
/
libudev
/
libudev-hwdb.c
diff --git
a/src/libudev/libudev-hwdb.c
b/src/libudev/libudev-hwdb.c
index 8fe24a432001b7d2ed91d1120c27de867dbe0aee..e72123a3af4ed2cea3ca458b4b036ef8bf07dc39 100644
(file)
--- a/
src/libudev/libudev-hwdb.c
+++ b/
src/libudev/libudev-hwdb.c
@@
-356,7
+356,7
@@
bool udev_hwdb_validate(struct udev_hwdb *hwdb) {
return false;
if (fstat(fileno(hwdb->f), &st) < 0)
return true;
- if (t
s_usec(&hwdb->st.st_mtim) != ts_usec
(&st.st_mtim))
+ if (t
imespec_load(&hwdb->st.st_mtim) != timespec_load
(&st.st_mtim))
return true;
return false;
}