Autodetect cgroup blkio mount point
[fio.git] / gettime.c
index b1431f329bec2e3ef9e32439035d896e9f8545ca..c0d27e4cd568fbddaca2600764e01733d01620bc 100644 (file)
--- a/gettime.c
+++ b/gettime.c
@@ -130,7 +130,7 @@ gtod:
        } else {
                struct timespec ts;
 
-               if (clock_gettime(CLOCK_MONOTONIC, &ts) < 0) {
+               if (clock_gettime(CLOCK_REALTIME, &ts) < 0) {
                        clock_gettime_works = 0;
                        goto gtod;
                }