[03/13] image-desc: Fix fdinfo format

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

Details

Message ID 1508450384-29215-4-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.
We pass unsigned 4 byte integer here, so
use appropriate format.

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 c46679811d7a..2000fa085eec 100644
--- a/criu/image-desc.c
+++ b/criu/image-desc.c
@@ -26,7 +26,7 @@ 
 
 struct cr_fd_desc_tmpl imgset_template[CR_FD_MAX] = {
 	FD_ENTRY(INVENTORY,	"inventory"),
-	FD_ENTRY(FDINFO,	"fdinfo-%d"),
+	FD_ENTRY(FDINFO,	"fdinfo-%u"),
 	FD_ENTRY(PAGEMAP,	"pagemap-%ld"),
 	FD_ENTRY(SHMEM_PAGEMAP,	"pagemap-shmem-%ld"),
 	FD_ENTRY(REG_FILES,	"reg-files"),