2
0
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:
Cyrill Gorcunov
2012-06-29 14:34:00 +04:00
committed by Pavel Emelyanov
parent 16c410b19f
commit eeb8f763b0

View File

@@ -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;
}