diff options
author | Vinson Lee <vlee@vmware.com> | 2010-05-02 01:03:59 -0700 |
---|---|---|
committer | Vinson Lee <vlee@vmware.com> | 2010-05-02 01:03:59 -0700 |
commit | fc1be4a99425d09103bba9e06026f31f2b0142d2 (patch) | |
tree | d95653e164f8608c8f7619fec0554a772a8229d7 /src/mesa/main/dlist.c | |
parent | 3c86e2f1dce458aec42b5de54fc2cf25cac28172 (diff) |
mesa: s/sprintf/_mesa_snprintf/
Diffstat (limited to 'src/mesa/main/dlist.c')
-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 f869a585d6..93594f0b58 100644 --- a/src/mesa/main/dlist.c +++ b/src/mesa/main/dlist.c @@ -7725,7 +7725,7 @@ execute_list(GLcontext *ctx, GLuint list) default: { char msg[1000]; - sprintf(msg, "Error in execute_list: opcode=%d", + _mesa_snprintf(msg, sizeof(msg), "Error in execute_list: opcode=%d", (int) opcode); _mesa_problem(ctx, msg); } |