Only print the unit number when invoked with the -n flag.
PR: bin/144300 Submitted by: arundel MFC after: 3 days
This commit is contained in:
parent
d886030b8a
commit
6992d350af
@ -373,7 +373,7 @@ md_list(char *units, int opt)
|
||||
found = 1;
|
||||
}
|
||||
gc = &pp->lg_config;
|
||||
printf("%s", pp->lg_name);
|
||||
printf("%s", nflag ? pp->lg_name + 2 : pp->lg_name);
|
||||
if (opt & OPT_VERBOSE || opt & OPT_UNIT) {
|
||||
type = geom_config_get(gc, "type");
|
||||
if (strcmp(type, "vnode") == 0)
|
||||
|
Loading…
x
Reference in New Issue
Block a user