[prev in list] [next in list] [prev in thread] [next in thread] 

List:       mesa3d-dev
Subject:    Re: [Mesa-dev] [RFC PATCH] egl: dri2 driver error output
From:       Brian Paul <brianp () vmware ! com>
Date:       2010-04-28 13:27:04
Message-ID: 4BD837A8.2020800 () vmware ! com
[Download RAW message or body]

Micah Fedke wrote:
> This patch amends the error output string for the case where the dri2 
> egl driver could not open the dri dev node.
>  
>  
> diff --git a/src/egl/drivers/dri2/egl_dri2.c 
> b/src/egl/drivers/dri2/egl_dri2.c
> index 8b6f78c..00550c2 100644
> --- a/src/egl/drivers/dri2/egl_dri2.c
> +++ b/src/egl/drivers/dri2/egl_dri2.c
> @@ -708,7 +708,7 @@ dri2_initialize(_EGLDriver *drv, _EGLDisplay *disp,
>     dri2_dpy->fd = open(dri2_dpy->device_name, O_RDWR);
>     if (dri2_dpy->fd == -1) {
>        _eglLog(_EGL_FATAL,
> -             "DRI2: could not open %s (%s)", path, strerror(errno));
> +             "DRI2: could not open %s (%s)", dri2_dpy->device_name, 
> strerror(errno));
>        goto cleanup_driver;
>     }
>  

Hi Micah.  Thanks for the patch.  I've committed it to the 7.8 branch.

-Brian

_______________________________________________
mesa-dev mailing list
mesa-dev@lists.freedesktop.org
http://lists.freedesktop.org/mailman/listinfo/mesa-dev
[prev in list] [next in list] [prev in thread] [next in thread] 

Configure | About | News | Add a list | Sponsored by KoreLogic