[Mesa-dev] [PATCH] mesa: glx: Reduce error log level
Kristian Høgsberg
hoegsberg at gmail.com
Wed Jun 11 14:44:21 PDT 2014
On Tue, Jun 10, 2014 at 11:21:26AM -0600, Courtney Goeltzenleuchter wrote:
> The code that parses LIBGL_DRIVERS_PATH was printing an
> error for every attempted dlopen. It's not an error to
> have to check multiple items in the path, only an error if
> no suitable library is found. Reduced the load error to
> a warning to match behavior of dynamic linker.
>
> Signed-off-by: Courtney Goeltzenleuchter <courtney at LunarG.com>
Reviewed-by: Kristian Høgsberg <krh at bitplanet.net>
> ---
> src/glx/dri_common.c | 2 +-
> 1 file changed, 1 insertion(+), 1 deletion(-)
>
> diff --git a/src/glx/dri_common.c b/src/glx/dri_common.c
> index 8bf4705..63c8de3 100644
> --- a/src/glx/dri_common.c
> +++ b/src/glx/dri_common.c
> @@ -140,7 +140,7 @@ driOpenDriver(const char *driverName)
> if (handle != NULL)
> break;
> else
> - ErrorMessageF("dlopen %s failed (%s)\n", realDriverName, dlerror());
> + InfoMessageF("dlopen %s failed (%s)\n", realDriverName, dlerror());
> }
>
> if (!handle)
> --
> 1.8.3.2
>
> _______________________________________________
> mesa-dev mailing list
> mesa-dev at lists.freedesktop.org
> http://lists.freedesktop.org/mailman/listinfo/mesa-dev
More information about the mesa-dev
mailing list