intel: remove extra \n from warning string
authorBrian Paul <brianp@vmware.com>
Mon, 8 Jun 2009 20:41:54 +0000 (14:41 -0600)
committerIan Romanick <ian.d.romanick@intel.com>
Wed, 17 Jun 2009 19:55:26 +0000 (12:55 -0700)
(cherry picked from commit 42e9bde0fa2276b8f5bb434328eea7665794b127)

src/mesa/drivers/dri/intel/intel_screen.c

index 0b485637764c9b6e7e0cfbb8db537ccb5fa34e22..0f278b3acddf8daa26d6252fdff6eca1e9560a12 100644 (file)
@@ -236,7 +236,7 @@ intel_get_param(__DRIscreenPrivate *psp, int param, int *value)
 
    ret = drmCommandWriteRead(psp->fd, DRM_I915_GETPARAM, &gp, sizeof(gp));
    if (ret) {
-      _mesa_warning(NULL, "drm_i915_getparam: %d\n", ret);
+      _mesa_warning(NULL, "drm_i915_getparam: %d", ret);
       return GL_FALSE;
    }