mirror of
https://github.com/freebsd/freebsd-src.git
synced 2024-12-03 08:22:44 +00:00
Change from using chunk_n to slice_type_name().
Reviewed by: jkh
This commit is contained in:
parent
93b3bdab56
commit
ae462d03db
Notes:
svn2git
2020-12-20 02:59:44 +00:00
svn path=/head/; revision=21969
@ -105,7 +105,8 @@ print_chunks(Disk *d)
|
||||
mvprintw(row, 2, "%10ld %10lu %10lu %8s %8d %8s %8d\t%-6s",
|
||||
chunk_info[i]->offset, chunk_info[i]->size,
|
||||
chunk_info[i]->end, chunk_info[i]->name,
|
||||
chunk_info[i]->type, chunk_n[chunk_info[i]->type],
|
||||
chunk_info[i]->type,
|
||||
slice_type_name(chunk_info[i]->type, chunk_info[i]->subtype),
|
||||
chunk_info[i]->subtype, ShowChunkFlags(chunk_info[i]));
|
||||
if (i == current_chunk)
|
||||
attrset(A_NORMAL);
|
||||
|
@ -105,7 +105,8 @@ print_chunks(Disk *d)
|
||||
mvprintw(row, 2, "%10ld %10lu %10lu %8s %8d %8s %8d\t%-6s",
|
||||
chunk_info[i]->offset, chunk_info[i]->size,
|
||||
chunk_info[i]->end, chunk_info[i]->name,
|
||||
chunk_info[i]->type, chunk_n[chunk_info[i]->type],
|
||||
chunk_info[i]->type,
|
||||
slice_type_name(chunk_info[i]->type, chunk_info[i]->subtype),
|
||||
chunk_info[i]->subtype, ShowChunkFlags(chunk_info[i]));
|
||||
if (i == current_chunk)
|
||||
attrset(A_NORMAL);
|
||||
|
@ -105,7 +105,8 @@ print_chunks(Disk *d)
|
||||
mvprintw(row, 2, "%10ld %10lu %10lu %8s %8d %8s %8d\t%-6s",
|
||||
chunk_info[i]->offset, chunk_info[i]->size,
|
||||
chunk_info[i]->end, chunk_info[i]->name,
|
||||
chunk_info[i]->type, chunk_n[chunk_info[i]->type],
|
||||
chunk_info[i]->type,
|
||||
slice_type_name(chunk_info[i]->type, chunk_info[i]->subtype),
|
||||
chunk_info[i]->subtype, ShowChunkFlags(chunk_info[i]));
|
||||
if (i == current_chunk)
|
||||
attrset(A_NORMAL);
|
||||
|
Loading…
Reference in New Issue
Block a user