From 582f104d04dac6d694c2076a1eef781a9fe8984d Mon Sep 17 00:00:00 2001 From: Cyrill Gorcunov Date: Wed, 25 Oct 2017 11:39:35 +0300 Subject: [PATCH] image-desc: Use unsigned format for userns It uses ns->id Signed-off-by: Cyrill Gorcunov Signed-off-by: Andrei Vagin --- 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 8a4e2489e..53299a704 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"),