summaryrefslogtreecommitdiff
path: root/tests/modefb
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/modefb
parentfe83c068612dd1abef8cf6d224b6b0330604a8f1 (diff)
After the previous revert fix libdrm to start at minor 1
and fixup the demos
Diffstat (limited to 'tests/modefb')
-rw-r--r--tests/modefb/demo.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/tests/modefb/demo.c b/tests/modefb/demo.c
index 7fa3b93f..4d81e511 100644
--- a/tests/modefb/demo.c
+++ b/tests/modefb/demo.c
@@ -26,7 +26,7 @@ int main(int argc, char **argv)
char name[100];
int i,d;
int fd;
- int drmfd = drmOpenControl(0);
+ int drmfd = drmOpen("i915", NULL);
/* try four devices */
for (d = 0; d < 4; d++) {