summaryrefslogtreecommitdiff
path: root/tests
diff options
context:
space:
mode:
authorAlan Hourihane <alanh@tungstengraphics.com>2008-05-09 16:36:28 +0100
committerAlan Hourihane <alanh@tungstengraphics.com>2008-05-09 16:36:28 +0100
commiteeff906aa0f64da12a0154c66d99e8492dd95107 (patch)
tree8a2e46e6f61e5beca1ef212f223053ba1e8b1073 /tests
parent7317e774b5cddb7218c1416fa4d9ee98756e4890 (diff)
Fix build problems
Diffstat (limited to 'tests')
-rw-r--r--tests/mode/modetest.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/tests/mode/modetest.c b/tests/mode/modetest.c
index 1fab04063..99238d5a2 100644
--- a/tests/mode/modetest.c
+++ b/tests/mode/modetest.c
@@ -351,7 +351,7 @@ int main(int argc, char **argv)
printf("Starting test\n");
- fd = drmOpenControl(0);
+ fd = drmOpen("i915", NULL);
if (fd < 0) {
printf("Failed to open the card fb (%d)\n",fd);