summaryrefslogtreecommitdiff
path: root/util/ievents.c
diff options
context:
space:
mode:
Diffstat (limited to 'util/ievents.c')
-rw-r--r--util/ievents.c8
1 files changed, 4 insertions, 4 deletions
diff --git a/util/ievents.c b/util/ievents.c
index cc40318..6a34e16 100644
--- a/util/ievents.c
+++ b/util/ievents.c
@@ -76,7 +76,7 @@ SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
#define SELprintf printf
#define SMS_SA 0x41
#define SMI_SA 0x21
-static char *progver = "2.98";
+static char *progver = "2.99";
static char *progname = "ievents";
static char fsensdesc = 0; /* 1= get extended sensor descriptions*/
static char fcanonical = 0; /* 1= show canonical, delimited output*/
@@ -2221,7 +2221,7 @@ int decode_raw_sel(char *raw_file, int mode)
{
FILE *fp;
char buff[256];
- uchar msg[132];
+ char msg[132];
uchar hbuf[50];
int fvalid = 0;
int len, i;
@@ -2585,7 +2585,7 @@ int i_events(int argc, char **argv)
} else i++;
}
}
- decode_sel_entry(buf,msg,sizeof(msg));
+ decode_sel_entry(buf,(char *)msg,sizeof(msg));
printf("%s", evt_hdr); /*"RecId Date/Time_______*/
printf("%s", msg);
} else if (fnewevt) {
@@ -2598,7 +2598,7 @@ int i_events(int argc, char **argv)
if (fdebug) printf("decoding standard IPMI event bytes\n");
if (fdebug) dump_buf("IPMI event",buf,16,0);
set_sel_opts(2,0, NULL,fdebug,futc);
- rv = decode_sel_entry(buf,msg,sizeof(msg));
+ rv = decode_sel_entry(buf,(char *)msg,sizeof(msg));
/* show header for the event record */
printf("%s", evt_hdr); /*"RecId Date/Time_______*/
printf("%s", msg);