summaryrefslogtreecommitdiff
path: root/util/ireset.c
diff options
context:
space:
mode:
Diffstat (limited to 'util/ireset.c')
-rw-r--r--util/ireset.c5
1 files changed, 5 insertions, 0 deletions
diff --git a/util/ireset.c b/util/ireset.c
index 3853569..c668996 100644
--- a/util/ireset.c
+++ b/util/ireset.c
@@ -108,8 +108,13 @@ SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
/*
* Global variables
*/
+#ifdef METACOMMAND
+extern char * progver; /*from ipmiutil.c*/
+static char * progname = "ipmiutil reset";
+#else
static char * progver = "3.08";
static char * progname = "ireset";
+#endif
static uchar ipmi_maj;
static uchar ipmi_min;
static uchar sms_sa = 0x81;