Source-Changes-HG archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

[src/trunk]: src/tests/lib/libm also terminate 2 other statements properly



details:   https://anonhg.NetBSD.org/src/rev/cf29f441dd68
branches:  trunk
changeset: 820711:cf29f441dd68
user:      agc <agc%NetBSD.org@localhost>
date:      Fri Jan 13 21:09:12 2017 +0000

description:
also terminate 2 other statements properly

diffstat:

 tests/lib/libm/t_scalbn.c |  8 ++++----
 1 files changed, 4 insertions(+), 4 deletions(-)

diffs (36 lines):

diff -r 0486604aef5f -r cf29f441dd68 tests/lib/libm/t_scalbn.c
--- a/tests/lib/libm/t_scalbn.c Fri Jan 13 21:02:05 2017 +0000
+++ b/tests/lib/libm/t_scalbn.c Fri Jan 13 21:09:12 2017 +0000
@@ -1,4 +1,4 @@
-/* $NetBSD: t_scalbn.c,v 1.13 2017/01/13 21:00:59 agc Exp $ */
+/* $NetBSD: t_scalbn.c,v 1.14 2017/01/13 21:09:12 agc Exp $ */
 
 /*-
  * Copyright (c) 2011 The NetBSD Foundation, Inc.
@@ -29,7 +29,7 @@
  * POSSIBILITY OF SUCH DAMAGE.
  */
 #include <sys/cdefs.h>
-__RCSID("$NetBSD: t_scalbn.c,v 1.13 2017/01/13 21:00:59 agc Exp $");
+__RCSID("$NetBSD: t_scalbn.c,v 1.14 2017/01/13 21:09:12 agc Exp $");
 
 #include <math.h>
 #include <limits.h>
@@ -81,7 +81,7 @@
        double rv;
 
        for (i = 0; i < tcnt; i++) {
-               errno = 0
+               errno = 0;
                rv = scalbn(tests[i].inval, tests[i].exp);
                ATF_CHECK_EQ_MSG(errno, tests[i].error,
                    "test %zu: errno %d instead of %d", i, errno,
@@ -368,7 +368,7 @@
        long double rv;
 
        for (i = 0; i < tcnt; i++) {
-               errno = 0
+               errno = 0;
                rv = scalbnl(tests[i].inval, tests[i].exp);
                ATF_CHECK_EQ_MSG(errno, tests[i].error,
                    "test %zu: errno %d instead of %d", i, errno,



Home | Main Index | Thread Index | Old Index