Prepare for post-1.8.0 (1.8.90).
[openvswitch] / lib / vlog.c
index e5c5feb7bdd61b559e90205f7da2cae78cc07442..d26e61391e58f7fc3b52171f87faf1e0abfc9794 100644 (file)
@@ -498,8 +498,8 @@ vlog_init(void)
         struct tm tm;
         char s[128];
 
-        localtime_r(&now, &tm);
-        strftime(s, sizeof s, "%a, %d %b %Y %H:%M:%S %z", &tm);
+        gmtime_r(&now, &tm);
+        strftime(s, sizeof s, "%a, %d %b %Y %H:%M:%S", &tm);
         VLOG_ERR("current time is negative: %s (%ld)", s, (long int) now);
     }