Update timestamp code; use utimensat()
[wimlib] / src / util.c
index 31b51ff41314e0f3d4d96e8435f73dc0418ae974..df813bb90a20e3ed78fa541862cc64101af46b0e 100644 (file)
@@ -459,7 +459,7 @@ u64 get_wim_timestamp()
 {
        struct timeval tv;
        gettimeofday(&tv, NULL);
-       return timeval_to_wim_timestamp(&tv);
+       return timeval_to_wim_timestamp(tv);
 }
 
 void wim_timestamp_to_str(u64 timestamp, char *buf, size_t len)