diff options
author | bapt <bapt@FreeBSD.org> | 2015-10-15 15:24:13 +0000 |
---|---|---|
committer | bapt <bapt@FreeBSD.org> | 2015-10-15 15:24:13 +0000 |
commit | 90d77eb60be7325c763918720ca6a6f98b07c2f4 (patch) | |
tree | 58fc44297592112c508eef90d8c68db132c884d9 | |
parent | 00fd613f9308c0b4560a13cad285149d8b1797fe (diff) | |
download | FreeBSD-src-90d77eb60be7325c763918720ca6a6f98b07c2f4.zip FreeBSD-src-90d77eb60be7325c763918720ca6a6f98b07c2f4.tar.gz |
Correctly print the device name of the adapter
Sponsored by: Gandi.net
-rw-r--r-- | usr.sbin/mpsutil/mps_show.c | 2 |
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); |