summaryrefslogtreecommitdiff
path: root/tests/modetest/modetest.c
diff options
context:
space:
mode:
Diffstat (limited to 'tests/modetest/modetest.c')
-rw-r--r--tests/modetest/modetest.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/tests/modetest/modetest.c b/tests/modetest/modetest.c
index 4739a78b..48178b99 100644
--- a/tests/modetest/modetest.c
+++ b/tests/modetest/modetest.c
@@ -618,7 +618,7 @@ set_mode(struct connector *c, int count, int page_flip)
memset(&evctx, 0, sizeof evctx);
evctx.version = DRM_EVENT_CONTEXT_VERSION;
evctx.vblank_handler = NULL;
- evctx.pageflip_handler = page_flip_handler;
+ evctx.page_flip_handler = page_flip_handler;
while (1) {
struct pollfd pfd[2];