From: Brian Paul Date: Wed, 19 Oct 2011 00:59:13 +0000 (-0600) Subject: mesa: use format string in _mesa_error() call to silence warning X-Git-Tag: 062012170305~3807 X-Git-Url: http://review.tizen.org/git/?a=commitdiff_plain;h=5485192fc81ab40ffdbfb1c74346d887c3c03231;p=profile%2Fivi%2Fmesa.git mesa: use format string in _mesa_error() call to silence warning --- diff --git a/src/mesa/main/dlist.c b/src/mesa/main/dlist.c index 567629d..ceb75c4 100644 --- a/src/mesa/main/dlist.c +++ b/src/mesa/main/dlist.c @@ -4519,7 +4519,7 @@ static GLvoid *copy_data(const GLvoid *data, GLsizei size, const char *func) image = malloc(size); if (!image) { - _mesa_error(ctx, GL_OUT_OF_MEMORY, func); + _mesa_error(ctx, GL_OUT_OF_MEMORY, "%s", func); return NULL; } memcpy(image, data, size);