Source-Changes-HG archive

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

[src/trunk]: src/tests/lib/libm terminate the statement properly



details:   https://anonhg.NetBSD.org/src/rev/380617d63c35
branches:  trunk
changeset: 820709:380617d63c35
user:      agc <agc%NetBSD.org@localhost>
date:      Fri Jan 13 21:00:59 2017 +0000

description:
terminate the statement properly

diffstat:

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

diffs (27 lines):

diff -r 8173e6ab6b50 -r 380617d63c35 tests/lib/libm/t_scalbn.c
--- a/tests/lib/libm/t_scalbn.c Fri Jan 13 20:58:59 2017 +0000
+++ b/tests/lib/libm/t_scalbn.c Fri Jan 13 21:00:59 2017 +0000
@@ -1,4 +1,4 @@
-/* $NetBSD: t_scalbn.c,v 1.12 2017/01/13 19:26:03 christos Exp $ */
+/* $NetBSD: t_scalbn.c,v 1.13 2017/01/13 21:00:59 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.12 2017/01/13 19:26:03 christos Exp $");
+__RCSID("$NetBSD: t_scalbn.c,v 1.13 2017/01/13 21:00:59 agc Exp $");
 
 #include <math.h>
 #include <limits.h>
@@ -223,7 +223,7 @@
        double rv;
 
        for (i = 0; i < tcnt; i++) {
-               errno = 0
+               errno = 0;
                rv = scalbnf(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