diff options
author | Jörg Frings-Fürst <debian@jff-webhosting.net> | 2014-08-09 11:42:23 +0200 |
---|---|---|
committer | Jörg Frings-Fürst <debian@jff-webhosting.net> | 2014-08-09 11:42:23 +0200 |
commit | 2c088f61bf4d73964e4d73f09412ec74a52e5518 (patch) | |
tree | 63f521249dbc05c69c3b05e757882232714a2d8b /util/iserial.c | |
parent | 9d9bae11084226b2e1473243d546b149cdf9e5c9 (diff) |
changes to version 2.9.4
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 |