summaryrefslogtreecommitdiff
path: root/util/igetevent.c
diff options
context:
space:
mode:
Diffstat (limited to 'util/igetevent.c')
-rw-r--r--util/igetevent.c7
1 files changed, 6 insertions, 1 deletions
diff --git a/util/igetevent.c b/util/igetevent.c
index 1cda21c..f4c75d6 100644
--- a/util/igetevent.c
+++ b/util/igetevent.c
@@ -168,8 +168,13 @@ extern void free_sdr_cache(uchar *pret); /*see isensor.c*/
/*
* Global variables
*/
-static char * progname = "igetevent";
+#ifdef METACOMMAND
+extern char * progver; /*from ipmiutil.c*/
+static char * progname = "ipmiutil getevent";
+#else
static char * progver = "3.08";
+static char * progname = "igetevent";
+#endif
static char fdebug = 0;
static char fipmilan = 0;
static char frunonce = 0;