diff options
-rw-r--r-- | ChangeLog | 5 | ||||
-rw-r--r-- | misc/tst-efgcvt.c | 6 |
2 files changed, 8 insertions, 3 deletions
diff --git a/ChangeLog b/ChangeLog index 08782c4965..fe85575224 100644 --- a/ChangeLog +++ b/ChangeLog @@ -1,3 +1,8 @@ +1999-11-10 Ulrich Drepper <drepper@cygnus.com> + + * misc/tst-efgcvt.c (output_r_error): Remove extra parameter to + printf call. + 1999-11-10 Andreas Jaeger <aj@suse.de> * misc/tst-efgcvt.c: Also test ecvt_r and fcvt_r. diff --git a/misc/tst-efgcvt.c b/misc/tst-efgcvt.c index 598bcee1e1..776508700a 100644 --- a/misc/tst-efgcvt.c +++ b/misc/tst-efgcvt.c @@ -109,7 +109,7 @@ output_r_error (const char *name, double value, int ndigit, printf ("Result was buf: \"%s\", decpt: %d, sign: %d return value: %d\n", res_p, res_decpt, res_sign, res_return); printf ("Should be buf: \"%s\", decpt: %d, sign: %d\n", - exp_p, exp_decpt, exp_sign, exp_return); + exp_p, exp_decpt, exp_sign); ++error_count; } @@ -140,7 +140,7 @@ test_r (testcase tests[], efcvt_r_func efcvt_r, const char *name) int no = 0; int decpt, sign, res; char buf [1024]; - + while (tests[no].value != -1.0) { @@ -164,7 +164,7 @@ special (void) int decpt, sign, res; char *p; char buf [1024]; - + p = ecvt (NAN, 10, &decpt, &sign); if (sign != 0 || strcmp (p, "nan") != 0) output_error ("ecvt", NAN, 10, "nan", 0, 0, p, decpt, sign); |