Correctly print the device name of the adapter
Sponsored by: Gandi.net
This commit is contained in:
parent
48f31f4fef
commit
3f4fe35d6c
Notes:
svn2git
2020-12-20 02:59:44 +00:00
svn path=/projects/mpsutil/; revision=289365
@ -89,7 +89,7 @@ show_adapter(int ac, char **av)
|
|||||||
warnx("Invalid controller info");
|
warnx("Invalid controller info");
|
||||||
return (EINVAL);
|
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 Name: %.16s\n", man0->BoardName);
|
||||||
printf(" Board Assembly: %.16s\n", man0->BoardAssembly);
|
printf(" Board Assembly: %.16s\n", man0->BoardAssembly);
|
||||||
printf(" Chip Name: %.16s\n", man0->ChipName);
|
printf(" Chip Name: %.16s\n", man0->ChipName);
|
||||||
|
Loading…
Reference in New Issue
Block a user