X-Git-Url: https://pintos-os.org/cgi-bin/gitweb.cgi?a=blobdiff_plain;f=ovsdb%2Ffile.c;h=846f55668e5f61bb7dad7ebeb1663cb1ceb7a227;hb=e2e744a852da97d86594b6ba4b6efeef57086fcf;hp=cf5bb41d4b10a7f84397dd77ef7abfe900cba0ec;hpb=ada496b5cc123fca2913be8b73097934f528cec8;p=openvswitch diff --git a/ovsdb/file.c b/ovsdb/file.c index cf5bb41d..846f5566 100644 --- a/ovsdb/file.c +++ b/ovsdb/file.c @@ -36,10 +36,10 @@ #include "transaction.h" #include "uuid.h" #include "util.h" - -#define THIS_MODULE VLM_ovsdb_file #include "vlog.h" +VLOG_DEFINE_THIS_MODULE(ovsdb_file) + /* Minimum number of milliseconds between database compactions. */ #define COMPACT_MIN_MSEC (10 * 60 * 1000) /* 10 minutes. */ @@ -737,7 +737,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_now())); + json_object_put(json, "_date", json_integer_create(time_wall())); error = ovsdb_log_write(log, json); json_destroy(json);