diff options
author | Vinson Lee <[email protected]> | 2010-05-02 01:03:59 -0700 |
---|---|---|
committer | Vinson Lee <[email protected]> | 2010-05-02 01:03:59 -0700 |
commit | fc1be4a99425d09103bba9e06026f31f2b0142d2 (patch) | |
tree | d95653e164f8608c8f7619fec0554a772a8229d7 /src/mesa/main/enums.c | |
parent | 3c86e2f1dce458aec42b5de54fc2cf25cac28172 (diff) |
mesa: s/sprintf/_mesa_snprintf/
Diffstat (limited to 'src/mesa/main/enums.c')
-rw-r--r-- | src/mesa/main/enums.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/mesa/main/enums.c b/src/mesa/main/enums.c index 45f6a64356a..9d6ffcd9319 100644 --- a/src/mesa/main/enums.c +++ b/src/mesa/main/enums.c @@ -5279,7 +5279,7 @@ const char *_mesa_lookup_enum_by_nr( int nr ) } else { /* this is not re-entrant safe, no big deal here */ - sprintf(token_tmp, "0x%x", nr); + _mesa_snprintf(token_tmp, sizeof(token_tmp), "0x%x", nr); return token_tmp; } } |