From f280308eea8a25de18568350cde4c232fd728496 Mon Sep 17 00:00:00 2001 From: Gerd Hoffmann Date: Thu, 24 Mar 2016 12:22:16 +0100 Subject: update device reporting --- drmtools.c | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) (limited to 'drmtools.c') diff --git a/drmtools.c b/drmtools.c index f936180..9c8288f 100644 --- a/drmtools.c +++ b/drmtools.c @@ -161,6 +161,7 @@ gfxstate *drm_init(const char *device) } else { snprintf(dev, sizeof(dev), DRM_DEV_NAME, DRM_DIR_NAME, 0); } + fprintf(stderr, "trying drm: %s ...\n", dev); if (drm_init_dev(dev) < 0) return NULL; @@ -190,7 +191,5 @@ gfxstate *drm_init(const char *device) gfx->restore_display = drm_restore_display; gfx->cleanup_display = drm_cleanup_display; - - fprintf(stderr, "using drm: %s\n", dev); return gfx; } -- cgit