Skip to content

Commit

Permalink
nbd: change pid to id the output of the list-mapped command
Browse files Browse the repository at this point in the history
Signed-off-by: Hanqing Wu <wuhanqing@corp.netease.com>
  • Loading branch information
wu-hanqing committed Oct 7, 2023
1 parent c80eb9c commit 0ff8409
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion nbd/src/NBDTool.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -38,7 +38,7 @@ extern int g_nbd_index;

std::ostream& operator<<(std::ostream& os, const DeviceInfo& info) {
TextTable tbl;
tbl.define_column("pid", TextTable::LEFT, TextTable::LEFT);
tbl.define_column("id", TextTable::LEFT, TextTable::LEFT);
tbl.define_column("image", TextTable::LEFT, TextTable::LEFT);
tbl.define_column("device", TextTable::LEFT, TextTable::LEFT);
tbl.define_column("options", TextTable::LEFT, TextTable::LEFT);
Expand Down

0 comments on commit 0ff8409

Please sign in to comment.