summaryrefslogtreecommitdiff
path: root/util/ipicmg.c
diff options
context:
space:
mode:
Diffstat (limited to 'util/ipicmg.c')
-rw-r--r--util/ipicmg.c7
1 files changed, 6 insertions, 1 deletions
diff --git a/util/ipicmg.c b/util/ipicmg.c
index 67ce69e..4aaf87d 100644
--- a/util/ipicmg.c
+++ b/util/ipicmg.c
@@ -80,8 +80,13 @@
#define PICMG_EKEY_AMC_MAX_DEVICE 15 /* 4 bits */
/* Global data */
-static char * progname = "ipicmg";
+#ifdef METACOMMAND
+extern char * progver; /*from ipmiutil.c*/
+static char * progname = "ipmiutil picmg";
+#else
static char * progver = "3.08";
+static char * progname = "ipicmg";
+#endif
static char fdebug = 0;
static char fset_mc = 0;
static uint8_t g_bus = PUBLIC_BUS;