summaryrefslogtreecommitdiff
path: root/tests/kmscapture.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'tests/kmscapture.cpp')
-rw-r--r--tests/kmscapture.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/tests/kmscapture.cpp b/tests/kmscapture.cpp
index ff62678..ee700b7 100644
--- a/tests/kmscapture.cpp
+++ b/tests/kmscapture.cpp
@@ -427,7 +427,7 @@ int main(int argc, char** argv)
r = req.test();
FAIL_IF(r, "Atomic commit failed: %d", r);
- req.commit();
+ req.commit_sync();
}
for (auto cam : cameras)