ovsdb-server: Fix a reference count leak bug
[cascardo/ovs.git] / ovsdb / file.c
index 4ccf33e..8c3c31b 100644 (file)
@@ -35,7 +35,7 @@
 #include "transaction.h"
 #include "uuid.h"
 #include "util.h"
-#include "vlog.h"
+#include "openvswitch/vlog.h"
 
 VLOG_DEFINE_THIS_MODULE(ovsdb_file);
 
@@ -768,7 +768,7 @@ ovsdb_file_txn_commit(struct json *json, const char *comment,
     if (comment) {
         json_object_put_string(json, "_comment", comment);
     }
-    json_object_put(json, "_date", json_integer_create(time_wall()));
+    json_object_put(json, "_date", json_integer_create(time_wall_msec()));
 
     error = ovsdb_log_write(log, json);
     json_destroy(json);