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:
Paulo Zanoni 2011-09-15 15:17:46 -03:00 committed by Daniel Vetter
parent 3ba12bbb2f
commit ca2800f1d4

View File

@ -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();
} }