summaryrefslogtreecommitdiff
path: root/util/oem_sun.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/oem_sun.c
parentd5cdf594f2678cf690b802fbf4eb687dd9d98c4f (diff)
New upstream version 3.1.0upstream/3.1.0
Diffstat (limited to 'util/oem_sun.c')
-rw-r--r--util/oem_sun.c7
1 files changed, 6 insertions, 1 deletions
diff --git a/util/oem_sun.c b/util/oem_sun.c
index 604caa7..84aa50f 100644
--- a/util/oem_sun.c
+++ b/util/oem_sun.c
@@ -108,8 +108,13 @@ static const struct valstr sunoem_led_mode_optvals[] = {
};
/* global variables */
-static char * progname = "isunoem";
+#ifdef METACOMMAND
+extern char * progver; /*from ipmiutil.c*/
+static char * progname = "ipmiutil sunoem";
+#else
static char * progver = "3.08";
+static char * progname = "isunoem";
+#endif
static char fdebug = 0;
static uchar g_bus = PUBLIC_BUS;
static uchar g_sa = BMC_SA;