summaryrefslogtreecommitdiff
path: root/util/idcmi.c
diff options
context:
space:
mode:
Diffstat (limited to 'util/idcmi.c')
-rw-r--r--util/idcmi.c7
1 files changed, 6 insertions, 1 deletions
diff --git a/util/idcmi.c b/util/idcmi.c
index f35e711..ec3ec0f 100644
--- a/util/idcmi.c
+++ b/util/idcmi.c
@@ -61,8 +61,13 @@ SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
#include "isensor.h"
#include "idcmi.h"
-static char * progname = "idcmi";
+#ifdef METACOMMAND
+extern char * progver; /*from ipmiutil.c*/
+static char * progname = "ipmiutil dcmi";
+#else
static char * progver = "3.08";
+static char * progname = "idcmi";
+#endif
extern char fdebug; /*from ipmicmd.c*/
static uchar g_bus = PUBLIC_BUS;
static uchar g_sa = BMC_SA;