Commit 57c4e736 authored by Pavel Emelyanov's avatar Pavel Emelyanov

show: Dont't print path len

It's actually useless for user, this field is for crtools only to
find out when one fdinfo entry ends and the new one starts.
Signed-off-by: 's avatarPavel Emelyanov <xemul@parallels.com>
parent 18cf145c
...@@ -83,9 +83,9 @@ static void show_files(int fd_files) ...@@ -83,9 +83,9 @@ static void show_files(int fd_files)
if (ret <= 0) if (ret <= 0)
goto out; goto out;
pr_msg("type: %s len: %02x flags: %4x pos: %8x " pr_msg("type: %s flags: %4x pos: %8x "
"addr: %16lx id: %16lx", "addr: %16lx id: %16lx",
fdtype2s(e.type), e.len, e.flags, e.pos, e.addr, e.id); fdtype2s(e.type), e.flags, e.pos, e.addr, e.id);
if (e.len) { if (e.len) {
int ret = read(fd_files, local_buf, e.len); int ret = read(fd_files, local_buf, e.len);
......
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