From 40fe8b11be9c1a1b38b91db097a5d6ebfa99304c Mon Sep 17 00:00:00 2001 From: Kay Sievers Date: Sun, 11 Nov 2012 20:45:05 +0100 Subject: udev: use usec_t and now() --- src/libudev/libudev-hwdb.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'src/libudev/libudev-hwdb.c') diff --git a/src/libudev/libudev-hwdb.c b/src/libudev/libudev-hwdb.c index 8fe24a4320..e72123a3af 100644 --- 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 (ts_usec(&hwdb->st.st_mtim) != ts_usec(&st.st_mtim)) + if (timespec_load(&hwdb->st.st_mtim) != timespec_load(&st.st_mtim)) return true; return false; } -- cgit v1.2.3