summaryrefslogtreecommitdiff
path: root/libc/stdlib/gcvt.c
diff options
context:
space:
mode:
Diffstat (limited to 'libc/stdlib/gcvt.c')
-rw-r--r--libc/stdlib/gcvt.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/libc/stdlib/gcvt.c b/libc/stdlib/gcvt.c
index 71bfcec80..75e3bbe70 100644
--- a/libc/stdlib/gcvt.c
+++ b/libc/stdlib/gcvt.c
@@ -5,7 +5,7 @@
#define MAX_NDIGIT 17
char *gcvt (double number, int ndigit, char *buf)
{
- sprintf(buf, "%.*g", (ndigit > MAX_NDIGIT)? MAX_NDIGIT : ndigit, number);
+ __sprintf(buf, "%.*g", (ndigit > MAX_NDIGIT)? MAX_NDIGIT : ndigit, number);
return buf;
}
#endif