summaryrefslogtreecommitdiff
path: root/util/ipicmg.c
diff options
context:
space:
mode:
authorJörg Frings-Fürst <debian@jff-webhosting.net>2018-05-01 10:22:52 +0200
committerJörg Frings-Fürst <debian@jff-webhosting.net>2018-05-01 10:22:52 +0200
commited721d01939a81a2ebf1b240a029ace82ee953df (patch)
treed5acb063b3dc1d6734b8aa221cf93017a38c22e5 /util/ipicmg.c
parent7a765f655540e4e254f4aaaf6ea3326a57d76e59 (diff)
parent1d271f6ff272623c990d1cebe531002f22b248bd (diff)
Merge branch 'feature/upstream' into develop
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;