[Mesa-dev] [PATCH 5/7] dri: Fix the logger error message handling.

Keith Packard keithp at keithp.com
Sun Jan 26 16:30:14 PST 2014


Eric Anholt <eric at anholt.net> writes:

> Since the loader changes, there has been a compiler warning that the
> prototype didn't match.  It turns out that if a loader error message was
> ever thrown, you'd segfault because of trying to use the warning level as
> a format string.

(Just rebased my dri3+gallium branch and needed this patch to avoid a segfault)

Reviewed-by: Keith Packard <keithp at keithp.com>
Tested-by:  Keith Packard <keithp at keithp.com>

-- 
keith.packard at intel.com
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 810 bytes
Desc: not available
URL: <http://lists.freedesktop.org/archives/mesa-dev/attachments/20140126/f7de51e0/attachment.pgp>


More information about the mesa-dev mailing list