[CRIU] [PATCH 05/15] image-desc: Use unsigned int for tmpfs dev image

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


Same as for autofs.

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 69a185a40026..2699ab462e3f 100644
--- a/criu/image-desc.c
+++ b/criu/image-desc.c
@@ -77,7 +77,7 @@ struct cr_fd_desc_tmpl imgset_template[CR_FD_MAX] = {
 	FD_ENTRY_F(IPTABLES,	"iptables-%d", O_NOBUF),
 	FD_ENTRY_F(IP6TABLES,	"ip6tables-%d", O_NOBUF),
 	FD_ENTRY_F(TMPFS_IMG,	"tmpfs-%d.tar.gz", O_NOBUF),
-	FD_ENTRY_F(TMPFS_DEV,	"tmpfs-dev-%d.tar.gz", O_NOBUF),
+	FD_ENTRY_F(TMPFS_DEV,	"tmpfs-dev-%u.tar.gz", O_NOBUF),
 	FD_ENTRY_F(AUTOFS,	"autofs-%u", O_NOBUF),
 	FD_ENTRY(BINFMT_MISC_OLD, "binfmt-misc-%d"),
 	FD_ENTRY(BINFMT_MISC,	"binfmt-misc"),
-- 
2.7.5



More information about the CRIU mailing list