Commit eeabd332 authored by Pavel Emelyanov's avatar Pavel Emelyanov

show: Beautify fdinfos showing

Shifd fd and type left and print ID with %#x
Signed-off-by: 's avatarPavel Emelyanov <xemul@parallels.com>
parent 03b06a8b
...@@ -86,7 +86,7 @@ void show_files(int fd_files, struct cr_options *o) ...@@ -86,7 +86,7 @@ void show_files(int fd_files, struct cr_options *o)
if (ret <= 0) if (ret <= 0)
goto out; goto out;
pr_msg("type: %5s fd: %5d id: 0x%8x flags %#x", pr_msg("type: %-5s fd: %-5d id: %#x flags %#x",
fdtype2s(e.type), e.fd, e.id, e.flags); fdtype2s(e.type), e.fd, e.id, e.flags);
pr_msg("\n"); pr_msg("\n");
......
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