commit 3f9ed05

Michael Forney  ·  2013-12-04 08:25:32 +0000 UTC
parent 0494b4c
launch: Add debugging messages for drmDropMaster
1 files changed,  +6, -1
+6, -1
 1@@ -94,7 +94,12 @@ static void stop_devices(bool fatal)
 2     unsigned index;
 3 
 4     for (index = 0; index < launcher.num_drm_fds; ++index)
 5-        drmDropMaster(launcher.drm_fds[index]);
 6+    {
 7+        fprintf(stderr, "Dropping DRM master\n");
 8+
 9+        if (drmDropMaster(launcher.drm_fds[index]) < 0)
10+            perror("Failed to drop DRM master");
11+    }
12 
13     for (index = 0; index < launcher.num_input_fds; ++index)
14     {