summaryrefslogtreecommitdiff
path: root/tests/tget_str.c
diff options
context:
space:
mode:
Diffstat (limited to 'tests/tget_str.c')
-rw-r--r--tests/tget_str.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/tests/tget_str.c b/tests/tget_str.c
index 61e549866..4aa0ddd9a 100644
--- a/tests/tget_str.c
+++ b/tests/tget_str.c
@@ -155,7 +155,7 @@ check_small (void)
{
fprintf(stderr, "Error in mpfr_get_str: 688 printed up to 4 bits should give 1.011e9\ninstead of ");
mpfr_out_str (stderr, 2, 4, x, GMP_RNDU);
- putchar ('\n');
+ puts ("");
exit (1);
}
(*__gmp_free_func) (s, strlen (s) + 1);