summaryrefslogtreecommitdiff
path: root/tests
diff options
context:
space:
mode:
authorDavid Herrmann <dh.herrmann@googlemail.com>2012-05-05 22:49:29 +0200
committerDavid Herrmann <dh.herrmann@googlemail.com>2012-05-05 22:49:29 +0200
commitefcc519458e2615faea64227ddd24dfa5cf2bf50 (patch)
tree4e86fd67991ef156851b487981c7eecbcd5a66c6 /tests
parent3acc23c9325f46af76d2bc62ca9a85670063ee5d (diff)
test_output: fix build failure
Use new uterm_video constructor. This requires hard-coding the DRM card but this is needed until we use the uterm_monitor interface. Signed-off-by: David Herrmann <dh.herrmann@googlemail.com>
Diffstat (limited to 'tests')
-rw-r--r--tests/test_output.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/tests/test_output.c b/tests/test_output.c
index 66417a0..20d8022 100644
--- a/tests/test_output.c
+++ b/tests/test_output.c
@@ -182,7 +182,7 @@ int main(int argc, char **argv)
goto err_fail;
log_notice("Creating video object...");
- ret = uterm_video_new(&video, UTERM_VIDEO_DRM, eloop);
+ ret = uterm_video_new(&video, eloop, UTERM_VIDEO_DRM, "/dev/dri/card0");
if (ret)
goto err_exit;