aboutsummaryrefslogtreecommitdiff
path: root/tools/regression
diff options
context:
space:
mode:
authorDavid Schultz <das@FreeBSD.org>2007-12-03 17:48:55 +0000
committerDavid Schultz <das@FreeBSD.org>2007-12-03 17:48:55 +0000
commit8b9f0f2a42e9c96a945e98b99b2544b91120bbfd (patch)
tree0f4a2d7b43898f82444834abeca3f3a8dd578ef4 /tools/regression
parentd069c2b7f5a98914e45cd27ab237bb6a2eb5d747 (diff)
Notes
Diffstat (limited to 'tools/regression')
-rw-r--r--tools/regression/lib/libc/stdio/test-printfloat.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/tools/regression/lib/libc/stdio/test-printfloat.c b/tools/regression/lib/libc/stdio/test-printfloat.c
index 5717a1588e6a..3c979c0424ba 100644
--- a/tools/regression/lib/libc/stdio/test-printfloat.c
+++ b/tools/regression/lib/libc/stdio/test-printfloat.c
@@ -53,7 +53,7 @@ main(int argc, char *argv[])
{
printf("1..11\n");
- assert(setlocale(LC_NUMERIC, ""));
+ assert(setlocale(LC_NUMERIC, "C"));
/*
* Basic tests of decimal output functionality.
@@ -144,7 +144,7 @@ main(int argc, char *argv[])
testfmt("1.234,00", "%'.2f", 1234.00);
testfmt("123.456,789", "%'.3f", 123456.789);
- assert(setlocale(LC_NUMERIC, ""));
+ assert(setlocale(LC_NUMERIC, "C"));
testfmt("12345678.062500", "%'f", 12345678.0625);
testfmt("9000.000000", "%'f", 9000.0);