Cc: Martin Wilck <[email protected]>
Cc: Benjamin Marzinski <[email protected]>
Cc: Christophe Varoqui <[email protected]>
Cc: DM_DEVEL-ML <[email protected]>
Signed-off-by: Xose Vazquez Perez <[email protected]>
---
 multipathd/multipathc.c | 3 +++
 1 file changed, 3 insertions(+)

diff --git a/multipathd/multipathc.c b/multipathd/multipathc.c
index cb3d6f87..bec6468d 100644
--- a/multipathd/multipathc.c
+++ b/multipathd/multipathc.c
@@ -16,6 +16,7 @@
 #include "util.h"
 #include "cli.h"
 #include "debug.h"
+#include "version.h"
 
 #ifdef USE_LIBEDIT
 #include <editline/readline.h>
@@ -297,6 +298,8 @@ int main (int argc, const char * const argv[])
        int tmo = DEFAULT_REPLY_TIMEOUT + 100;
        char *ep;
 
+       fprintf(stderr, VERSION_STRING);
+
        if (argc > 2) {
                fprintf(stderr, "Usage: %s [timeout]\n", argv[0]);
                return 1;
-- 
2.56.1


Reply via email to