ovs.db.data: Fix bugs in Atom.is_default() and Datum.is_default().
[openvswitch] / utilities / ovs-vlan-bug-workaround.c
index 54316ddc7db17d68d4524b83df6782d4da67ebb4..9722c27841dedc2e8152825e16975c23dce309ac 100644 (file)
@@ -113,7 +113,7 @@ parse_options(int argc, char *argv[])
     static const struct option long_options[] = {
         {"help", no_argument, NULL, 'h'},
         {"version", no_argument, NULL, 'V'},
-        {0, 0, 0, 0},
+        {NULL, 0, NULL, 0},
     };
     char *short_options = long_options_to_short_options(long_options);
 
@@ -130,7 +130,7 @@ parse_options(int argc, char *argv[])
             break;
 
         case 'V':
-            OVS_PRINT_VERSION(0, 0);
+            ovs_print_version(0, 0);
             exit(EXIT_SUCCESS);
 
         case '?':