summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--usr.sbin/mpsutil/mps_show.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/usr.sbin/mpsutil/mps_show.c b/usr.sbin/mpsutil/mps_show.c
index adfe7a3..46b7196 100644
--- a/usr.sbin/mpsutil/mps_show.c
+++ b/usr.sbin/mpsutil/mps_show.c
@@ -89,7 +89,7 @@ show_adapter(int ac, char **av)
warnx("Invalid controller info");
return (EINVAL);
}
- printf("mps%d Adapter:\n", mps_unit);
+ printf("mp%s%d Adapter:\n", is_mps ? "s": "r", mps_unit);
printf(" Board Name: %.16s\n", man0->BoardName);
printf(" Board Assembly: %.16s\n", man0->BoardAssembly);
printf(" Chip Name: %.16s\n", man0->ChipName);
OpenPOWER on IntegriCloud