summaryrefslogtreecommitdiff
path: root/tests/libtest/chkdecimalpoint.c
diff options
context:
space:
mode:
Diffstat (limited to 'tests/libtest/chkdecimalpoint.c')
-rw-r--r--tests/libtest/chkdecimalpoint.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/tests/libtest/chkdecimalpoint.c b/tests/libtest/chkdecimalpoint.c
index b5f5070c0..7bb77150f 100644
--- a/tests/libtest/chkdecimalpoint.c
+++ b/tests/libtest/chkdecimalpoint.c
@@ -33,7 +33,7 @@ int main(void)
int chars;
setlocale(LC_NUMERIC, "");
- chars = snprintf(zero, TOTAL_STR_LEN, "%.1f", 0.0);
+ chars = msnprintf(zero, TOTAL_STR_LEN, "%.1f", 0.0);
if((chars == (TOTAL_STR_LEN - 1)) && (strcmp(zero, "0.0") == 0))
return 0;
else