mirror of
https://github.com/checkpoint-restore/criu
synced 2025-08-30 22:05:36 +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;
|
||||
}
|
||||
|
||||
pos = strstr(buf, "count-raw:");
|
||||
if (!pos || !sscanf(pos, "count-raw: %lx", &efe.counter)) {
|
||||
pos = strstr(buf, "eventfd-count:");
|
||||
if (!pos || !sscanf(pos, "eventfd-count: %lx", &efe.counter)) {
|
||||
pr_err("Counter value is not found for %d (%d)\n", p->fd, lfd);
|
||||
return -1;
|
||||
}
|
||||
|
Reference in New Issue
Block a user