From b5ead43fb52fa7df56449e0a5d08adf2f2da038f Mon Sep 17 00:00:00 2001 From: Ben Pfaff Date: Fri, 6 Feb 2009 09:16:35 -0800 Subject: [PATCH] vswitchd: Add build number to --version output. --- vswitchd/vswitchd.c | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/vswitchd/vswitchd.c b/vswitchd/vswitchd.c index 5077415d..c7e5c862 100644 --- a/vswitchd/vswitchd.c +++ b/vswitchd/vswitchd.c @@ -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 -- 2.30.2