summaryrefslogtreecommitdiff
path: root/tests/modehotplug
diff options
context:
space:
mode:
authorAlan Hourihane <alanh@tungstengraphics.com>2008-02-20 19:54:36 +0000
committerAlan Hourihane <alanh@tungstengraphics.com>2008-02-20 19:55:14 +0000
commit88cb873045b76bf947f45fb127baa96f055ad32c (patch)
treee84ed9d7913447f8f3e516cf999d0dcf39f1afb4 /tests/modehotplug
parent66cd6bd66667433f56feecdcc94a2bb228d5a7ca (diff)
minor test fixes
Diffstat (limited to 'tests/modehotplug')
-rw-r--r--tests/modehotplug/demo.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/tests/modehotplug/demo.c b/tests/modehotplug/demo.c
index 1518e84c..4ef2e386 100644
--- a/tests/modehotplug/demo.c
+++ b/tests/modehotplug/demo.c
@@ -123,7 +123,7 @@ struct demo_driver* demoCreateDriver(void)
memset(driver, 0, sizeof(struct demo_driver));
- driver->fd = drmOpenControl(0);
+ driver->fd = drmOpen("i915", NULL);
if (driver->fd < 0) {
printf("Failed to open the card fb\n");