intel: Change context create failure message to from fprintf to DBG().
[glsdk/libdrm.git] / intel / intel_bufmgr_gem.c
index a957c2855dabd2bbbf906f78b030b6c5549a963b..12a3197798fb2248beefc69c1594732620d5ad85 100644 (file)
@@ -2851,8 +2851,8 @@ drm_intel_gem_context_create(drm_intel_bufmgr *bufmgr)
 
        ret = drmIoctl(bufmgr_gem->fd, DRM_IOCTL_I915_GEM_CONTEXT_CREATE, &create);
        if (ret != 0) {
-               fprintf(stderr, "DRM_IOCTL_I915_GEM_CONTEXT_CREATE failed: %s\n",
-                       strerror(errno));
+               DBG("DRM_IOCTL_I915_GEM_CONTEXT_CREATE failed: %s\n",
+                   strerror(errno));
                return NULL;
        }