X-Git-Url: https://pintos-os.org/cgi-bin/gitweb.cgi?a=blobdiff_plain;f=utilities%2Fovs-vlan-bug-workaround.c;h=9722c27841dedc2e8152825e16975c23dce309ac;hb=57d6a4c71bd0b4ed477ec273d4d4f84c5e4ed465;hp=54316ddc7db17d68d4524b83df6782d4da67ebb4;hpb=431488e6638d3fbb53d215fa10d2ff2d8f1c2824;p=openvswitch diff --git a/utilities/ovs-vlan-bug-workaround.c b/utilities/ovs-vlan-bug-workaround.c index 54316ddc..9722c278 100644 --- a/utilities/ovs-vlan-bug-workaround.c +++ b/utilities/ovs-vlan-bug-workaround.c @@ -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 '?':