summaryrefslogtreecommitdiff
path: root/tests
diff options
context:
space:
mode:
authorJakob Bornecrantz <jakob@tungstengraphics.com>2008-02-07 19:32:20 +0100
committerJakob Bornecrantz <jakob@tungstengraphics.com>2008-02-07 19:32:20 +0100
commit2ceafcccb77723a464abd51d07e664933e117b6e (patch)
tree0cbcb977ba9a05d1c17362d3edaa31213b5c33d5 /tests
parentc8b45e9362aa16fed08540996af6d0b1e2e730d0 (diff)
Wrong open call
Diffstat (limited to 'tests')
-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 4ef2e386..1518e84c 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 = drmOpen("i915", NULL);
+ driver->fd = drmOpenControl(0);
if (driver->fd < 0) {
printf("Failed to open the card fb\n");