aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
Diffstat (limited to 'tests/dristat.c')
-rw-r--r--tests/dristat.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/tests/dristat.c b/tests/dristat.c
index 48c3b51b..89853164 100644
--- a/tests/dristat.c
+++ b/tests/dristat.c
@@ -263,7 +263,7 @@ int main(int argc, char **argv)
263 263
264 for (i = 0; i < 16; i++) if (!minor || i == minor) { 264 for (i = 0; i < 16; i++) if (!minor || i == minor) {
265 sprintf(buf, DRM_DEV_NAME, DRM_DIR_NAME, i); 265 sprintf(buf, DRM_DEV_NAME, DRM_DIR_NAME, i);
266 fd = drmOpenMinor(i, 1, DRM_NODE_RENDER); 266 fd = drmOpenMinor(i, 1);
267 if (fd >= 0) { 267 if (fd >= 0) {
268 printf("%s\n", buf); 268 printf("%s\n", buf);
269 if (mask & DRM_BUSID) getbusid(fd); 269 if (mask & DRM_BUSID) getbusid(fd);