From: Michal Krol Date: Fri, 20 Mar 2009 11:19:40 +0000 (+0100) Subject: slang: Use _mesa_snprintf() wrapper. X-Git-Url: https://git.libre-soc.org/?a=commitdiff_plain;h=3d4246e22e90ffef5fe0cd935bd54c7f862e82f7;p=mesa.git slang: Use _mesa_snprintf() wrapper. --- diff --git a/src/mesa/shader/slang/slang_codegen.c b/src/mesa/shader/slang/slang_codegen.c index 8263aae3343..a7cfc45e6f0 100644 --- a/src/mesa/shader/slang/slang_codegen.c +++ b/src/mesa/shader/slang/slang_codegen.c @@ -1441,7 +1441,7 @@ _slang_gen_function_call(slang_assemble_ctx *A, slang_function *fun, if (A->pragmas->Debug) { char s[1000]; - snprintf(s, sizeof(s), "Call/inline %s()", (char *) fun->header.a_name); + _mesa_snprintf(s, sizeof(s), "Call/inline %s()", (char *) fun->header.a_name); n->Comment = _slang_strdup(s); }