summaryrefslogtreecommitdiffstats
path: root/mboxd.c
diff options
context:
space:
mode:
authorSuraj Jitindar Singh <sjitindarsingh@gmail.com>2017-05-01 16:05:17 +1000
committerSuraj Jitindar Singh <sjitindarsingh@gmail.com>2017-05-04 13:44:12 +1000
commit8d65bb444002a715c84aeaaade246a7e60d669c8 (patch)
tree504b438b35dc67219affc65af6c1a64a2b8e2d16 /mboxd.c
parent6f3197df572db57f22d5ae6d8564fb1979a39259 (diff)
downloadphosphor-mboxd-8d65bb444002a715c84aeaaade246a7e60d669c8.tar.gz
phosphor-mboxd-8d65bb444002a715c84aeaaade246a7e60d669c8.zip
version: Update to version 2.1.0
Update to package version V2.1.0 to reflect that a backwards compatible API change was made. This API change was the introduction of the timeout to the GET_MBOX_INFO command. This version update also encompasses previous bug fixes. The versioning scheme is now aligned to semver. Use the version from config.h for both mboxd and mboxctl instead of an independant value for the daemon and control programs. Change-Id: I12d7fe8e40697801594b1727054342613923a784 Signed-off-by: Suraj Jitindar Singh <sjitindarsingh@gmail.com>
Diffstat (limited to 'mboxd.c')
-rw-r--r--mboxd.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/mboxd.c b/mboxd.c
index e5b6fe8..5f851df 100644
--- a/mboxd.c
+++ b/mboxd.c
@@ -42,6 +42,7 @@
#include <inttypes.h>
#include <systemd/sd-bus.h>
+#include "config.h"
#include "mbox.h"
#include "common.h"
#include "dbus.h"
@@ -261,8 +262,7 @@ static bool parse_cmdline(int argc, char **argv,
}
break;
case 'V':
- printf("%s v%d.%.2d\n", THIS_NAME, API_MAX_VERSION,
- SUB_VERSION);
+ printf("%s V%s\n", THIS_NAME, PACKAGE_VERSION);
exit(0);
case 'h':
return false; /* This will print the usage message */
OpenPOWER on IntegriCloud