Add build number to datapath version and --version output from programs.
[sliver-openvswitch.git] / utilities / ofp-kill.c
index a1c1e84..0ad0434 100644 (file)
@@ -182,7 +182,8 @@ parse_options(int argc, char *argv[])
             usage();
 
         case 'V':
-            printf("%s "VERSION" compiled "__DATE__" "__TIME__"\n", argv[0]);
+            printf("%s %s compiled "__DATE__" "__TIME__"\n",
+                   program_name, VERSION BUILDNR);
             exit(EXIT_SUCCESS);
 
         case '?':