diff options
author | Paulo Zanoni <paulo.r.zanoni@intel.com> | 2011-09-15 15:17:46 -0300 |
---|---|---|
committer | Daniel Vetter <daniel.vetter@ffwll.ch> | 2011-09-15 19:39:25 +0200 |
commit | ca2800f1d4d352304dccd33e9ab5c0e27e89a05a (patch) | |
tree | fdd251b4df5ed750597687d937f20b554145a198 | |
parent | 3ba12bbb2faf6cfd87eea96edf761f16ef8c4ab1 (diff) |
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>
-rw-r--r-- | lib/drmtest.c | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/lib/drmtest.c b/lib/drmtest.c index 95df93f7..fc40ad12 100644 --- a/lib/drmtest.c +++ b/lib/drmtest.c @@ -64,6 +64,7 @@ int drm_open_any(void) close(fd); } + fprintf(stderr, "failed to open any drm device. retry as root?\n"); abort(); } |