mirror of
https://github.com/tiagovignatti/intel-gpu-tools.git
synced 2025-06-09 08:56:11 +00:00
drm_open_any: explain why we are abort()ing
Signed-off-by: Paulo Zanoni <paulo.r.zanoni@intel.com> [danvet: pimped error msg] Signed-off-by: Daniel Vetter <daniel.vetter@ffwll.ch>
This commit is contained in:
parent
3ba12bbb2f
commit
ca2800f1d4
@ -64,6 +64,7 @@ int drm_open_any(void)
|
|||||||
|
|
||||||
close(fd);
|
close(fd);
|
||||||
}
|
}
|
||||||
|
fprintf(stderr, "failed to open any drm device. retry as root?\n");
|
||||||
abort();
|
abort();
|
||||||
}
|
}
|
||||||
|
|
||||||
|
Loading…
x
Reference in New Issue
Block a user