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

show: Show netdevice indices with %d

Signed-off-by: Pavel Emelyanov <xemul@parallels.com>
This commit is contained in:
Pavel Emelyanov
2012-08-21 16:47:32 +04:00
parent 3158389d2d
commit dffe544fe8
2 changed files with 2 additions and 2 deletions

2
net.c
View File

@@ -18,7 +18,7 @@ static int ns_fd = -1;
void show_netdevices(int fd, struct cr_options *opt)
{
pb_show_plain(fd, PB_NETDEV);
pb_show_plain_pretty(fd, PB_NETDEV, "2:%d");
}
static int dump_one_netdev(int type, struct ifinfomsg *ifi,