mirror of
https://github.com/checkpoint-restore/criu
synced 2025-08-30 05:48:05 +00:00
show: Add pretty output for fdinfo
fd is shown in %d flags are shown in %#o Signed-off-by: Pavel Emelyanov <xemul@parallels.com>
This commit is contained in:
parent
6c9396f9bd
commit
4dd8d1a98f
@ -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)
|
||||||
|
Loading…
x
Reference in New Issue
Block a user