mirror of
https://github.com/checkpoint-restore/criu.git
synced 2026-07-22 01:31:34 +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:
parent
16c410b19f
commit
eeb8f763b0
1 changed files with 2 additions and 2 deletions
|
|
@ -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;
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue