summaryrefslogtreecommitdiff
path: root/util/ihealth.c
diff options
context:
space:
mode:
authorJörg Frings-Fürst <debian@jff-webhosting.net>2018-05-01 10:13:09 +0200
committerJörg Frings-Fürst <debian@jff-webhosting.net>2018-05-01 10:13:09 +0200
commitfc806628dbeecd34f41b2f6d04290631dca3955e (patch)
treee9ee96c4b97b1ca9b9f100eae402185859f6539b /util/ihealth.c
parentd5cdf594f2678cf690b802fbf4eb687dd9d98c4f (diff)
New upstream version 3.1.0upstream/3.1.0
Diffstat (limited to 'util/ihealth.c')
-rw-r--r--util/ihealth.c7
1 files changed, 6 insertions, 1 deletions
diff --git a/util/ihealth.c b/util/ihealth.c
index dd9be29..f985d83 100644
--- a/util/ihealth.c
+++ b/util/ihealth.c
@@ -82,8 +82,13 @@ extern int oem_supermicro_get_firmware_str(char *pstr, int sz); /*oem_supermicro
/*
* Global variables
*/
-static char * progname = "ihealth";
+#ifdef METACOMMAND
+extern char * progver; /*from ipmiutil.c*/
+static char * progname = "ipmiutil health";
+#else
static char * progver = "3.08";
+static char * progname = "ihealth";
+#endif
static char fdebug = 0;
static char fipmilan = 0;
static char fcanonical = 0;