summary refs log tree commit diff
path: root/misc
diff options
context:
space:
mode:
authorThomas Schwinge <thomas@codesourcery.com>2013-02-28 13:03:37 +0100
committerThomas Schwinge <thomas@codesourcery.com>2013-03-15 19:00:23 +0100
commite015e27b902c3e599370771dbbb0c5de0ec00f44 (patch)
treecc88d6ecd4e0f180629aaa3450033c4c8bd4ce67 /misc
parenta57da9551698153f0e5261b419388004b039820f (diff)
downloadglibc-e015e27b902c3e599370771dbbb0c5de0ec00f44.tar.gz
glibc-e015e27b902c3e599370771dbbb0c5de0ec00f44.tar.xz
glibc-e015e27b902c3e599370771dbbb0c5de0ec00f44.zip
Fix copy'n'pastos.
Diffstat (limited to 'misc')
-rw-r--r--misc/tst-efgcvt.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/misc/tst-efgcvt.c b/misc/tst-efgcvt.c
index 87d8c630ac..c9896492fc 100644
--- a/misc/tst-efgcvt.c
+++ b/misc/tst-efgcvt.c
@@ -177,7 +177,7 @@ special (void)
 
   p = ecvt (INFINITY, 10, &decpt, &sign);
   if (sign != 0 || strcmp (p, "inf") != 0)
-    output_error ("ecvt", NAN, 10, "inf", 0, 0, p, decpt, sign);
+    output_error ("ecvt", INFINITY, 10, "inf", 0, 0, p, decpt, sign);
 
   /* Simply make sure these calls with large NDIGITs don't crash.  */
   (void) ecvt (123.456, 10000, &decpt, &sign);