[CRIU] [PATCH 09/15] image-desc: Use unsigned format for netns

Cyrill Gorcunov gorcunov at openvz.org
Wed Oct 25 11:39:34 MSK 2017


Since it uses ns->id

Signed-off-by: Cyrill Gorcunov <gorcunov at openvz.org>
---
 criu/image-desc.c | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/criu/image-desc.c b/criu/image-desc.c
index 6b1f5a007a24..044c739ca3b7 100644
--- a/criu/image-desc.c
+++ b/criu/image-desc.c
@@ -69,7 +69,7 @@ struct cr_fd_desc_tmpl imgset_template[CR_FD_MAX] = {
 	FD_ENTRY(TCP_STREAM,	"tcp-stream-%x"),
 	FD_ENTRY(MNTS,		"mountpoints-%u"),
 	FD_ENTRY(NETDEV,	"netdev-%u"),
-	FD_ENTRY(NETNS,		"netns-%d"),
+	FD_ENTRY(NETNS,		"netns-%u"),
 	FD_ENTRY_F(IFADDR,	"ifaddr-%d", O_NOBUF),
 	FD_ENTRY_F(ROUTE,	"route-%d", O_NOBUF),
 	FD_ENTRY_F(ROUTE6,	"route6-%d", O_NOBUF),
-- 
2.7.5



More information about the CRIU mailing list