From ca2800f1d4d352304dccd33e9ab5c0e27e89a05a Mon Sep 17 00:00:00 2001 From: Paulo Zanoni Date: Thu, 15 Sep 2011 15:17:46 -0300 Subject: drm_open_any: explain why we are abort()ing Signed-off-by: Paulo Zanoni [danvet: pimped error msg] Signed-off-by: Daniel Vetter --- lib/drmtest.c | 1 + 1 file changed, 1 insertion(+) (limited to 'lib/drmtest.c') diff --git a/lib/drmtest.c b/lib/drmtest.c index 95df93f76..fc40ad12a 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(); } -- cgit v1.2.3