summaryrefslogtreecommitdiff
path: root/util/ievents.c
diff options
context:
space:
mode:
Diffstat (limited to 'util/ievents.c')
-rw-r--r--util/ievents.c10
1 files changed, 5 insertions, 5 deletions
diff --git a/util/ievents.c b/util/ievents.c
index cbc7622..098df46 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.94";
+static char *progver = "2.95";
static char *progname = "ievents";
static char fsensdesc = 0; /* 1= get extended sensor descriptions*/
static char fcanonical = 0; /* 1= show canonical, delimited output*/
@@ -193,10 +193,10 @@ static const char *sensor_types[NSTYPES] = {
/* 2Eh */ "ME" /* 0xDC == ME Node Manager */
};
-#define NFWERRS 15
+#define NFWERRS 14
static struct { /* See Table 36-3, type 0Fh, offset 00h */
int code; char *msg;
- } fwerrs[NFWERRS] = {
+ } fwerrs[NFWERRS + 1] = {
{ 0x00, "Unspecified"},
{ 0x01, "No system memory"},
{ 0x02, "No usable memory"},
@@ -214,10 +214,10 @@ static struct { /* See Table 36-3, type 0Fh, offset 00h */
{ 0x0E, "Reserved" }
};
-#define NFWSTAT 27
+#define NFWSTAT 26
static struct { /* See Table 36-3, type 0Fh, offset 01h & 02h */
int code; char *msg;
- } fwstat[NFWSTAT] = {
+ } fwstat[NFWSTAT + 1] = {
{ 0x00, "Unspecified"},
{ 0x01, "Memory init"},
{ 0x02, "Hard disk init"},