From: Courtney Goeltzenleuchter Date: Wed, 26 Feb 2014 21:27:08 +0000 (-0700) Subject: mesa: glx: Reduce error log level X-Git-Url: https://git.libre-soc.org/?a=commitdiff_plain;h=0406f59eebb77e537b50f5cac3a20355686d2a4d;p=mesa.git mesa: glx: Reduce error log level 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 Reviewed-by: Kristian Høgsberg --- diff --git a/src/glx/dri_common.c b/src/glx/dri_common.c index 8bf47054a32..63c8de38c7c 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)