mirror of
https://github.com/checkpoint-restore/criu
synced 2025-09-01 14:55:39 +00:00
eventfd: Tune up fdinfo format for new kernel output
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
16c410b19f
commit
eeb8f763b0
@@ -87,8 +87,8 @@ static int dump_one_eventfd(int lfd, u32 id, const struct fd_parms *p)
|
|||||||
return -1;
|
return -1;
|
||||||
}
|
}
|
||||||
|
|
||||||
pos = strstr(buf, "count-raw:");
|
pos = strstr(buf, "eventfd-count:");
|
||||||
if (!pos || !sscanf(pos, "count-raw: %lx", &efe.counter)) {
|
if (!pos || !sscanf(pos, "eventfd-count: %lx", &efe.counter)) {
|
||||||
pr_err("Counter value is not found for %d (%d)\n", p->fd, lfd);
|
pr_err("Counter value is not found for %d (%d)\n", p->fd, lfd);
|
||||||
return -1;
|
return -1;
|
||||||
}
|
}
|
||||||
|
Reference in New Issue
Block a user