Use "set -e" command instead of "#! /bin/sh -e" magic.
[sliver-openvswitch.git] / utilities / ofp-discover.c
index 402d589..461aa7c 100644 (file)
@@ -365,7 +365,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 'v':