summaryrefslogtreecommitdiff
path: root/util/ifru.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/ifru.c
parentd5cdf594f2678cf690b802fbf4eb687dd9d98c4f (diff)
New upstream version 3.1.0upstream/3.1.0
Diffstat (limited to 'util/ifru.c')
-rw-r--r--util/ifru.c9
1 files changed, 6 insertions, 3 deletions
diff --git a/util/ifru.c b/util/ifru.c
index cc866d8..effa9b7 100644
--- a/util/ifru.c
+++ b/util/ifru.c
@@ -113,10 +113,13 @@ extern int get_LastError( void ); /* ipmilan.c */
extern int GetSDRRepositoryInfo(int *nret, int *fdev); /*isensor.h*/
#ifdef METACOMMAND
extern int ipmi_kontronoem_main(void * intf, int argc, char ** argv);
+extern char *progver; /*from ipmiutil.c*/
+static char *progname = "ipmiutil fru";
+#else
+static char *progver = "3.08";
+static char *progname = "ifru";
#endif
-static char *progname = "ifru";
-static char *progver = "3.08";
static int vend_id = 0;
static int prod_id = 0;
static char fdebug = 0;
@@ -1643,7 +1646,7 @@ int i_fru(int argc, char **argv)
char do_reserve = 1;
char devstr[32];
- printf("%s: version %s\n",progname,progver);
+ printf("%s version %s\n",progname,progver);
parse_lan_options('V',"4",0); /*default to admin privilege*/
while ( (c = getopt( argc, argv,"a:bcd:efhkl:m:n:i:p:r:s:t:v:xyzT:V:J:EYF:P:N:R:U:Z:?")) != EOF )