diff --git a/eventfd.c b/eventfd.c index c6fdf67ef..fa7d9baa5 100644 --- a/eventfd.c +++ b/eventfd.c @@ -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; }