2
0
mirror of https://github.com/checkpoint-restore/criu synced 2025-08-31 06:15:24 +00:00

sockets: Print icons numbers in debug printing

Signed-off-by: Cyrill Gorcunov <gorcunov@openvz.org>
Acked-by: Pavel Emelyanov <xemul@parallels.com>
This commit is contained in:
Cyrill Gorcunov
2012-01-25 20:32:01 +04:00
parent b0e4a2edcd
commit b21c2c8c1d

View File

@@ -128,6 +128,13 @@ static void show_one_unix(char *act, struct unix_sk_desc *sk)
{
dprintk("\t%s: ino %d type %d state %d name %s\n",
act, sk->sd.ino, sk->type, sk->state, sk->name);
if (sk->nr_icons) {
int i;
for (i = 0; i < sk->nr_icons; i++)
dprintk("\t\ticon: %4d\n", sk->icons[i]);
}
}
static void show_one_unix_img(char *act, struct unix_sk_entry *e)