diff options
author | Brian Paul <brianp@vmware.com> | 2011-10-18 18:59:13 -0600 |
---|---|---|
committer | Henri Verbeet <hverbeet@gmail.com> | 2011-11-21 19:49:48 +0100 |
commit | 658d994473dcfbff140e43178253bbcf438af797 (patch) | |
tree | a51b75e7d5f533415768f49bcc689424aa9e0a61 | |
parent | 8a8ccc00b527995b1dc400f0eba984bde2ccca9e (diff) |
mesa: use format string in _mesa_error() call to silence warning
(cherry picked from commit 5485192fc81ab40ffdbfb1c74346d887c3c03231)
-rw-r--r-- | src/mesa/main/dlist.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/mesa/main/dlist.c b/src/mesa/main/dlist.c index eb314bee677..6301da38c9e 100644 --- a/src/mesa/main/dlist.c +++ b/src/mesa/main/dlist.c @@ -4529,7 +4529,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); |