diff options
Diffstat (limited to 'tests')
-rw-r--r-- | tests/modehotplug/demo.c | 2 |
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"); |