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

Submitted by Cyrill Gorcunov on July 4, 2018, 3:51 p.m.

Details

Message ID 20180704155147.29114-11-gorcunov@gmail.com
State Accepted
Series "epoll: Add support for duped targets"
Headers show

Commit Message

Cyrill Gorcunov July 4, 2018, 3:51 p.m.
For easier fd match when reading logs

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

Patch hide | download patch | download mbox

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)