vswitchd: Add build number to --version output.
authorBen Pfaff <blp@nicira.com>
Fri, 6 Feb 2009 17:16:35 +0000 (09:16 -0800)
committerBen Pfaff <blp@nicira.com>
Fri, 6 Feb 2009 18:53:50 +0000 (10:53 -0800)
vswitchd/vswitchd.c

index 5077415d7ac460af10c27425eeb955401a97f582..c7e5c86223d41c0623231c3c205b3d9a917bc054 100644 (file)
@@ -168,7 +168,8 @@ parse_options(int argc, char *argv[])
             usage();
 
         case 'V':
-            printf("%s "VERSION" compiled "__DATE__" "__TIME__"\n", argv[0]);
+            printf("%s "VERSION BUILDNR" compiled "__DATE__" "__TIME__"\n",
+                   argv[0]);
             exit(EXIT_SUCCESS);
 
         VLOG_OPTION_HANDLERS