X-Git-Url: https://pintos-os.org/cgi-bin/gitweb.cgi?a=blobdiff_plain;f=ovsdb%2Fovsdb-tool.c;h=61aea75dc57809dc6f44c7eecfe816ec70e20d7a;hb=1e68c0730d0753e9a796a0d6d4b95933f7cdfbd2;hp=8b81ef6153f17ce8bcc7a54dad78d77373b53ed6;hpb=41709cccb8099972f9c6c3faf583b1286cb92e8a;p=openvswitch diff --git a/ovsdb/ovsdb-tool.c b/ovsdb/ovsdb-tool.c index 8b81ef61..61aea75d 100644 --- a/ovsdb/ovsdb-tool.c +++ b/ovsdb/ovsdb-tool.c @@ -24,6 +24,7 @@ #include "command-line.h" #include "compiler.h" +#include "file.h" #include "log.h" #include "json.h" #include "ovsdb.h" @@ -167,7 +168,7 @@ transact(bool read_only, const char *db_file_name, const char *transaction) struct json *request, *result; struct ovsdb *db; - check_ovsdb_error(ovsdb_open(db_file_name, read_only, &db)); + check_ovsdb_error(ovsdb_file_open(db_file_name, read_only, &db)); request = parse_json(transaction); result = ovsdb_execute(db, request, 0, NULL);