Commit 3158389d authored by Pavel Emelyanov's avatar Pavel Emelyanov

show: Show unix inodes and peers both in hex

Currently peer is %d, but this is wrong. It should be paired
with inode easily.
Signed-off-by: 's avatarPavel Emelyanov <xemul@parallels.com>
parent 4dd8d1a9
......@@ -451,7 +451,7 @@ static struct unix_sk_info *find_unix_sk_by_ino(int ino)
void show_unixsk(int fd, struct cr_options *o)
{
pb_show_plain_pretty(fd, PB_UNIXSK, "1:%#x 2:%#x 3:%d 4:%d 5:%d 6:%d 7:%d 8:%d 11:S");
pb_show_plain_pretty(fd, PB_UNIXSK, "1:%#x 2:%#x 3:%d 4:%d 5:%d 6:%d 7:%d 8:%#x 11:S");
}
static int post_open_unix_sk(struct file_desc *d, int fd)
......
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