X-Git-Url: https://pintos-os.org/cgi-bin/gitweb.cgi?a=blobdiff_plain;f=ovsdb%2Fovsdb-client.c;h=aaee5dbf82ea3704fcff662d7093e5592788d971;hb=e65dc5c57e4520d838350607d256f251e4d81235;hp=fef87d1a59332f5a8a37a6b4a3b70c366111fe02;hpb=20aa445d66ace847aa2945b372cc8d3c0e9b034b;p=openvswitch diff --git a/ovsdb/ovsdb-client.c b/ovsdb/ovsdb-client.c index fef87d1a..aaee5dbf 100644 --- a/ovsdb/ovsdb-client.c +++ b/ovsdb/ovsdb-client.c @@ -41,9 +41,9 @@ #include "table.h" #include "timeval.h" #include "util.h" - #include "vlog.h" -#define THIS_MODULE VLM_ovsdb_client + +VLOG_DEFINE_THIS_MODULE(ovsdb_client); /* --format: Output formatting. */ static enum { @@ -74,8 +74,6 @@ main(int argc, char *argv[]) { proctitle_init(argc, argv); set_program_name(argv[0]); - time_init(); - vlog_init(); parse_options(argc, argv); signal(SIGPIPE, SIG_IGN); run_command(argc - optind, argv + optind, all_commands); @@ -443,6 +441,10 @@ table_print_table__(const struct table *table) putchar('\n'); } + if (table->caption) { + puts(table->caption); + } + if (output_headings) { for (x = 0; x < table->n_columns; x++) { const struct column *column = &table->columns[x];