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:19 +0200
committerJörg Frings-Fürst <debian@jff-webhosting.net>2018-05-01 10:13:19 +0200
commita1cf5d4924bb115d7de05e0bc080f88e04d24d29 (patch)
tree01484827e16d2c8e42a0fe32a561d1f9fd4a5472 /util/ihealth.c
parent7a765f655540e4e254f4aaaf6ea3326a57d76e59 (diff)
parentfc806628dbeecd34f41b2f6d04290631dca3955e (diff)
Update upstream source from tag 'upstream/3.1.0'
Update to upstream version '3.1.0' with Debian dir 7f3343aa24cd6de6310e636ce7444692bec74f2a
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;