From 5e089900768eaf85581bdeaf0a9d64668f9e1ddd Mon Sep 17 00:00:00 2001 From: Ian Jackson Date: Wed, 30 Nov 2016 23:29:03 +0000 Subject: [PATCH] regress: fuzzraw: implement poll Signed-off-by: Ian Jackson --- regress/hplayback.c.m4 | 1 + 1 file changed, 1 insertion(+) diff --git a/regress/hplayback.c.m4 b/regress/hplayback.c.m4 index 4ab05c1..dd98f0e 100644 --- a/regress/hplayback.c.m4 +++ b/regress/hplayback.c.m4 @@ -265,6 +265,7 @@ static void Ppollfds(struct pollfd *fds, int nfds) { if (gotevents != fds->events) Psyntax("poll fds[].events changed"); Pstring(", revents=",", revents= in pollfds"); fds->revents= Ppollfdevents(); + if (gotevents) FR_WRITE(fds->revents); Pstring("}","} in pollfds"); Pstring(comma,"separator in pollfds"); comma= ", "; -- 2.30.2