Commit 4dd8d1a9 authored by Pavel Emelyanov's avatar Pavel Emelyanov

show: Add pretty output for fdinfo

fd is shown in %d
flags are shown in %#o
Signed-off-by: 's avatarPavel Emelyanov <xemul@parallels.com>
parent 6c9396f9
...@@ -56,7 +56,7 @@ static LIST_HEAD(pstree_list); ...@@ -56,7 +56,7 @@ static LIST_HEAD(pstree_list);
void show_files(int fd_files, struct cr_options *o) void show_files(int fd_files, struct cr_options *o)
{ {
pb_show_plain(fd_files, PB_FDINFO); pb_show_plain_pretty(fd_files, PB_FDINFO, "2:%#o 4:%d");
} }
void show_fown_cont(void *p) void show_fown_cont(void *p)
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment