diff options
Diffstat (limited to 'util/iserial.c')
-rw-r--r-- | util/iserial.c | 5 |
1 files changed, 2 insertions, 3 deletions
diff --git a/util/iserial.c b/util/iserial.c index ce00ed3..a7f722c 100644 --- a/util/iserial.c +++ b/util/iserial.c @@ -155,7 +155,7 @@ typedef struct /* * Global variables */ -static char * progver = "2.93"; +static char * progver = "2.94"; static char * progname = "iserial"; static int vend_id = 0; static int prod_id = 0; @@ -1237,8 +1237,7 @@ main(int argc, char **argv) #ifdef TEST /* This MUX reading is volatile and may not be accurate */ else if (ival == CMDID_MUX) { - /* Apparently this always shows 0x01 even if System. */ - if (pc[0] & 0x01 == 1) printf("%c BMC",bdelim); + if ((pc[0] & 0x01) == 1) printf("%c BMC",bdelim); else printf("%c System",bdelim); /*BIOS*/ } #endif |