mirror of
https://github.com/checkpoint-restore/criu
synced 2025-09-01 14:55:39 +00:00
files: Fix id print format
Otherwise | (00.013475) 1: Collect fdinfo pid=626 fd=4 id=0x 17008 Signed-off-by: Cyrill Gorcunov <gorcunov@openvz.org> Signed-off-by: Pavel Emelyanov <xemul@parallels.com>
This commit is contained in:
committed by
Pavel Emelyanov
parent
3736fcf9f1
commit
5b8ee16c5f
2
files.c
2
files.c
@@ -360,7 +360,7 @@ static int collect_fd(int pid, FdinfoEntry *e, struct rst_info *rst_info)
|
|||||||
struct fdinfo_list_entry *le, *new_le;
|
struct fdinfo_list_entry *le, *new_le;
|
||||||
struct file_desc *fdesc;
|
struct file_desc *fdesc;
|
||||||
|
|
||||||
pr_info("Collect fdinfo pid=%d fd=%d id=0x%16x\n",
|
pr_info("Collect fdinfo pid=%d fd=%d id=%#x\n",
|
||||||
pid, e->fd, e->id);
|
pid, e->fd, e->id);
|
||||||
|
|
||||||
new_le = shmalloc(sizeof(*new_le));
|
new_le = shmalloc(sizeof(*new_le));
|
||||||
|
Reference in New Issue
Block a user