[CRIU] [PATCH v5 10/19] epoll: Show tfd in decimal form

Cyrill Gorcunov gorcunov at gmail.com
Wed Jul 4 18:51:38 MSK 2018


For easier fd match when reading logs

Signed-off-by: Cyrill Gorcunov <gorcunov at gmail.com>
---
 criu/eventpoll.c | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)

diff --git a/criu/eventpoll.c b/criu/eventpoll.c
index 1ac6d5d9aff1..3779ebeeb648 100644
--- a/criu/eventpoll.c
+++ b/criu/eventpoll.c
@@ -46,8 +46,8 @@ int is_eventpoll_link(char *link)
 
 static void pr_info_eventpoll_tfd(char *action, EventpollTfdEntry *e)
 {
-	pr_info("%seventpoll-tfd: id %#08x tfd %#08x events %#08x data %#016"PRIx64"\n",
-		action, e->id, e->tfd, e->events, e->data);
+	pr_info("%seventpoll-tfd: tfd %8d events %#08x data %#016"PRIx64"\n",
+		action, e->tfd, e->events, e->data);
 }
 
 static void pr_info_eventpoll(char *action, EventpollFileEntry *e)
-- 
2.14.4



More information about the CRIU mailing list