chiark / gitweb /
loginctl: don't show [UACCESS] info in device tree
[elogind.git] / src / bootchart / log.c
index e41689d6111ce369b7e8d5347500122a93727a03..48002fafd05faa117168988eb4c3ed8179e50a9c 100644 (file)
@@ -39,11 +39,11 @@ DIR *proc;
 
 double gettime_ns(void)
 {
-        struct timespec now;
+        struct timespec n;
 
-        clock_gettime(CLOCK_MONOTONIC, &now);
+        clock_gettime(CLOCK_MONOTONIC, &n);
 
-        return (now.tv_sec + (now.tv_nsec / 1000000000.0));
+        return (n.tv_sec + (n.tv_nsec / 1000000000.0));
 }