summaryrefslogtreecommitdiffstats
path: root/src/mesa/main/enums.c
diff options
context:
space:
mode:
Diffstat (limited to 'src/mesa/main/enums.c')
-rw-r--r--src/mesa/main/enums.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/mesa/main/enums.c b/src/mesa/main/enums.c
index fc7f8beb50e..140902f6778 100644
--- a/src/mesa/main/enums.c
+++ b/src/mesa/main/enums.c
@@ -5216,7 +5216,7 @@ const char *_mesa_lookup_enum_by_nr( int nr )
}
else {
/* this is not re-entrant safe, no big deal here */
- _mesa_sprintf(token_tmp, "0x%x", nr);
+ sprintf(token_tmp, "0x%x", nr);
return token_tmp;
}
}