summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--src/util/disk_cache.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/util/disk_cache.h b/src/util/disk_cache.h
index 7f4da809ccb..b7c0df25dd1 100644
--- a/src/util/disk_cache.h
+++ b/src/util/disk_cache.h
@@ -54,7 +54,7 @@ disk_cache_get_function_timestamp(void *ptr, uint32_t* timestamp)
if (stat(info.dli_fname, &st)) {
return false;
}
- *timestamp = st.st_mtim.tv_sec;
+ *timestamp = st.st_mtime;
return true;
#else
return false;