timeval: Use monotonic time where appropriate.
[openvswitch] / lib / dynamic-string.c
index 79a7d8ee408c21209abee96f1e41858c8232d388..180a4301c3fe218eb3b65e69713f006b70a217dc 100644 (file)
@@ -179,7 +179,7 @@ void
 ds_put_strftime(struct ds *ds, const char *template, const struct tm *tm)
 {
     if (!tm) {
-        time_t now = time_now();
+        time_t now = time_wall();
         tm = localtime(&now);
     }
     for (;;) {