[CRIU] [PATCH 10/15] image-desc: Use unsigned format for userns

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


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 044c739ca3b7..5db474b461a4 100644
--- a/criu/image-desc.c
+++ b/criu/image-desc.c
@@ -96,7 +96,7 @@ struct cr_fd_desc_tmpl imgset_template[CR_FD_MAX] = {
 	FD_ENTRY(TIMERFD,	"timerfd"),
 	FD_ENTRY(CPUINFO,	"cpuinfo"),
 	FD_ENTRY(SECCOMP,	"seccomp"),
-	FD_ENTRY(USERNS,	"userns-%d"),
+	FD_ENTRY(USERNS,	"userns-%u"),
 	FD_ENTRY(NETNF_CT,	"netns-ct-%d"),
 	FD_ENTRY(NETNF_EXP,	"netns-exp-%d"),
 	FD_ENTRY(FILES,		"files"),
-- 
2.7.5



More information about the CRIU mailing list