diff options
author | Suraj Jitindar Singh <sjitindarsingh@gmail.com> | 2017-05-01 16:05:17 +1000 |
---|---|---|
committer | Suraj Jitindar Singh <sjitindarsingh@gmail.com> | 2017-05-04 13:44:12 +1000 |
commit | 8d65bb444002a715c84aeaaade246a7e60d669c8 (patch) | |
tree | 504b438b35dc67219affc65af6c1a64a2b8e2d16 /mboxctl.c | |
parent | 6f3197df572db57f22d5ae6d8564fb1979a39259 (diff) | |
download | phosphor-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 'mboxctl.c')
-rw-r--r-- | mboxctl.c | 7 |
1 files changed, 3 insertions, 4 deletions
@@ -42,6 +42,7 @@ #include <systemd/sd-bus.h> +#include "config.h" #include "dbus.h" #define USAGE \ @@ -59,9 +60,7 @@ "\t\t\targ[0]: < \"clean\" | \"modified\" >\n" \ "\t\t--clear-cache\t- tell the daemon to discard any caches (0)\n" -#define NAME "MBOX Control" -#define VERSION 1 -#define SUBVERSION 0 +#define NAME "Mailbox Control" static bool silent; @@ -449,7 +448,7 @@ static int parse_cmdline(struct mboxctl_context *context, int argc, char **argv) rc = handle_cmd_modified(context); break; case 'v': - MSG_OUT("%s V%d.%.2d\n", NAME, VERSION, SUBVERSION); + MSG_OUT("%s V%s\n", NAME, PACKAGE_VERSION); rc = 0; break; case 'h': |