From 4dd8d1a98f7d44f714a53d8cc9760606ea58e34e Mon Sep 17 00:00:00 2001 From: Pavel Emelyanov Date: Tue, 21 Aug 2012 16:30:37 +0400 Subject: [PATCH] show: Add pretty output for fdinfo fd is shown in %d flags are shown in %#o Signed-off-by: Pavel Emelyanov --- cr-show.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/cr-show.c b/cr-show.c index ccff31e89..bdb63eb6e 100644 --- a/cr-show.c +++ b/cr-show.c @@ -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)