summaryrefslogtreecommitdiff
path: root/rototiller.c
diff options
context:
space:
mode:
authorVito Caputo <vcaputo@gnugeneration.com>2016-12-13 20:25:12 -0800
committerVito Caputo <vcaputo@gnugeneration.com>2016-12-13 20:25:12 -0800
commitecd2271d50b347900e9e15da5112ffcd1e6084d9 (patch)
tree1264fcb1e64c9f7b89a2ded4e68f6e77a31a170e /rototiller.c
parentbcd78537dcb91bfab19dd8b9b1962501aba3231b (diff)
drmsetup: include errno in more drm errors
Also improves handling of odd situation of no connectors w/encoders
Diffstat (limited to 'rototiller.c')
-rw-r--r--rototiller.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/rototiller.c b/rototiller.c
index b1c8c36..7d53afe 100644
--- a/rototiller.c
+++ b/rototiller.c
@@ -62,7 +62,7 @@ int main(int argc, const char *argv[])
drm_setup(&drm_fd, &drm_crtc_id, &drm_connector_id, &drm_mode);
renderer_select(&renderer);
- exit_if(!(fb = fb_new(drm_fd, drm_crtc_id, &drm_connector_id, 1, drm_mode, NUM_FB_PAGES)),
+ pexit_if(!(fb = fb_new(drm_fd, drm_crtc_id, &drm_connector_id, 1, drm_mode, NUM_FB_PAGES)),
"unable to create fb");
pexit_if(!fps_setup(),
© All Rights Reserved