Commit 03b06a8b authored by Pavel Emelyanov's avatar Pavel Emelyanov

unix: Beautify the unixsk image show output

Print IDs with %#x to get rid of spaces between 0x and numbers.
Signed-off-by: 's avatarPavel Emelyanov <xemul@parallels.com>
parent e4a41e8c
...@@ -450,7 +450,7 @@ void show_unixsk(int fd, struct cr_options *o) ...@@ -450,7 +450,7 @@ void show_unixsk(int fd, struct cr_options *o)
if (ret <= 0) if (ret <= 0)
goto out; goto out;
pr_msg("id 0x%8x ino 0x%8x type %s state %s namelen %4d backlog %4d peer 0x%8x flags 0x%2x uflags 0x%2x", pr_msg("id %#x ino %#x type %s state %s namelen %4d backlog %4d peer %#x flags %#x uflags %#x",
ue.id, ue.ino, sktype2s(ue.type), skstate2s(ue.state), ue.id, ue.ino, sktype2s(ue.type), skstate2s(ue.state),
ue.namelen, ue.backlog, ue.peer, ue.flags, ue.uflags); ue.namelen, ue.backlog, ue.peer, ue.flags, ue.uflags);
......
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