2
0
mirror of https://github.com/checkpoint-restore/criu synced 2025-08-30 13:58:34 +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:
Pavel Emelyanov 2012-08-21 16:30:37 +04:00
parent 6c9396f9bd
commit 4dd8d1a98f

View File

@ -56,7 +56,7 @@ static LIST_HEAD(pstree_list);
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)