summaryrefslogtreecommitdiff
path: root/util/ihealth.c
diff options
context:
space:
mode:
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;