summaryrefslogtreecommitdiff
path: root/util/iserial.c
diff options
context:
space:
mode:
Diffstat (limited to 'util/iserial.c')
-rw-r--r--util/iserial.c7
1 files changed, 3 insertions, 4 deletions
diff --git a/util/iserial.c b/util/iserial.c
index ce00ed3..07fc3cc 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.96";
static char * progname = "iserial";
static int vend_id = 0;
static int prod_id = 0;
@@ -942,7 +942,7 @@ main(int argc, char **argv)
printf(" -t Configure serial port for shared Terminal Mode & Console (same as -c)\n");
printf(" -v4 access priVilege: 4=Admin, 3=Operator, 2=User\n");
printf(" -x eXtra debug messages\n");
- print_lan_opt_usage();
+ print_lan_opt_usage(0);
ret = ERR_USAGE;
goto do_exit;
}
@@ -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