[10/13] image-desc: Use unsigned format for userns

Submitted by Cyrill Gorcunov on Oct. 19, 2017, 9:59 p.m.

Details

Message ID 1508450384-29215-11-git-send-email-gorcunov@openvz.org
State New
Series "Clean up image format and fix anon shmem bits strip"
Headers show

Commit Message

Cyrill Gorcunov Oct. 19, 2017, 9:59 p.m.
It uses ns->id

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

Patch hide | download patch | download mbox

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"),