summaryrefslogtreecommitdiff
path: root/util/oem_newisys.c
diff options
context:
space:
mode:
Diffstat (limited to 'util/oem_newisys.c')
-rw-r--r--util/oem_newisys.c9
1 files changed, 9 insertions, 0 deletions
diff --git a/util/oem_newisys.c b/util/oem_newisys.c
index dd4d759..6b21e1b 100644
--- a/util/oem_newisys.c
+++ b/util/oem_newisys.c
@@ -43,6 +43,8 @@ SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
#include "ipmicmd.h"
#include "ievents.h"
+static char * progver = "3.04";
+static char * progname = "inewisysoem";
static char fdebug = 0;
static uchar g_bus = PUBLIC_BUS;
static uchar g_sa = BMC_SA;
@@ -126,4 +128,11 @@ int decode_sel_newisys(uchar *evt, char *outbuf, int outsz, char fdesc,
return rv;
}
+#ifdef METACOMMAND
+int i_newisysoem(int argc, char **argv)
+{
+ printf("%s ver %s\n", progname,progver);
+ return(0);
+}
+#endif
/* end oem_newisys.c */