summaryrefslogtreecommitdiff
path: root/tests/mode
diff options
context:
space:
mode:
authorAlan Hourihane <alanh@tungstengraphics.com>2008-02-07 22:21:50 +0000
committerAlan Hourihane <alanh@tungstengraphics.com>2008-02-07 22:21:50 +0000
commitf51dc37d75b0b1b8e5636f8f2c201e29986517ea (patch)
treefd987ab4e2cae6b02622dfd586f8c9c779babbe0 /tests/mode
parentfe83c068612dd1abef8cf6d224b6b0330604a8f1 (diff)
After the previous revert fix libdrm to start at minor 1
and fixup the demos
Diffstat (limited to 'tests/mode')
-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 ab0cdc9c..caa3d970 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);