mirror of
https://gitlab.freedesktop.org/mesa/mesa.git
synced 2026-05-14 14:28:08 +02:00
loader: print WARNING and FATAL messages using the default logger
Lower values are used for more severe cases. Signed-off-by: Emil Velikov <emil.l.velikov@gmail.com> Reviewed-by: Eric Anholt <eric@anholt.net> Reviewed-by: Kenneth Graunke <kenneth@whitecape.org>
This commit is contained in:
parent
4c35e32594
commit
780dfc1fec
1 changed files with 1 additions and 1 deletions
|
|
@ -82,7 +82,7 @@
|
||||||
|
|
||||||
static void default_logger(int level, const char *fmt, ...)
|
static void default_logger(int level, const char *fmt, ...)
|
||||||
{
|
{
|
||||||
if (level >= _LOADER_WARNING) {
|
if (level <= _LOADER_WARNING) {
|
||||||
va_list args;
|
va_list args;
|
||||||
va_start(args, fmt);
|
va_start(args, fmt);
|
||||||
vfprintf(stderr, fmt, args);
|
vfprintf(stderr, fmt, args);
|
||||||
|
|
|
||||||
Loading…
Add table
Reference in a new issue