terminate the statement properly
This commit is contained in:
parent
d352a1f1ba
commit
56556fc2dc
|
@ -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 @@ ATF_TC_BODY(scalbnf_val, tc)
|
|||
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,
|
||||
|
|
Loading…
Reference in New Issue