mesa: do not use format string as literal string
authorJuan A. Suarez Romero <jasuarez@igalia.com>
Wed, 28 Jun 2017 11:40:48 +0000 (13:40 +0200)
committerJuan A. Suarez Romero <jasuarez@igalia.com>
Wed, 28 Jun 2017 14:19:55 +0000 (16:19 +0200)
commit89d4008ac85714bab8c49974377fd37970f6d66a
tree9e940621f86d1256934f0b48c6863764e658d151
parent7bbcf3ac70933393dc9567e36a94fb4abc1748e7
mesa: do not use format string as literal string

This fixes a couple of  errors when building in Android:

external/mesa3d/src/mesa/main/shaderapi.c:293:49: error: format string
is not a string literal (potentially insecure)
[-Werror,-Wformat-security]
         _mesa_error(ctx, GL_INVALID_OPERATION, caller);
                                                ^~~~~~
external/mesa3d/src/mesa/main/shaderapi.c:293:49: note: treat the string
as an argument to avoid this
         _mesa_error(ctx, GL_INVALID_OPERATION, caller);
                                                ^
Reviewed-by: Samuel Pitoiset <samuel.pitoiset@gmail.com>
Signed-off-by: Juan A. Suarez Romero <jasuarez@igalia.com>
src/mesa/main/shaderapi.c