diff options
author | Ulrich Drepper <drepper@redhat.com> | 1999-11-10 18:00:33 +0000 |
---|---|---|
committer | Ulrich Drepper <drepper@redhat.com> | 1999-11-10 18:00:33 +0000 |
commit | 1fc6f81397fefb17827fcaf9ab0acd5c6d327dc9 (patch) | |
tree | 0d5ee5b6d30d8e37032674049b1e52b74ae708ec /misc | |
parent | c9e17a9c30348ed1e04a813df627b93ea9afa46d (diff) | |
download | glibc-1fc6f81397fefb17827fcaf9ab0acd5c6d327dc9.zip glibc-1fc6f81397fefb17827fcaf9ab0acd5c6d327dc9.tar.gz glibc-1fc6f81397fefb17827fcaf9ab0acd5c6d327dc9.tar.bz2 |
Update.
1999-11-10 Ulrich Drepper <drepper@cygnus.com>
* misc/tst-efgcvt.c (output_r_error): Remove extra parameter to
printf call.
Diffstat (limited to 'misc')
-rw-r--r-- | misc/tst-efgcvt.c | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/misc/tst-efgcvt.c b/misc/tst-efgcvt.c index 598bcee..7765087 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); |