summaryrefslogtreecommitdiff
path: root/regress/lib/libm
diff options
context:
space:
mode:
authorOtto Moerbeek <otto@cvs.openbsd.org>2005-11-17 20:16:27 +0000
committerOtto Moerbeek <otto@cvs.openbsd.org>2005-11-17 20:16:27 +0000
commite6d44b969f2712e50b7fff2dc6b7ab3d81fb7bb2 (patch)
tree63c3428f3c83c2c04f43f10ee259243626b7137b /regress/lib/libm
parent775cde31e9d51f1d71b4a42237c3853f1afd6ea1 (diff)
errx is better here
Diffstat (limited to 'regress/lib/libm')
-rw-r--r--regress/lib/libm/rint/rint.c14
1 files changed, 7 insertions, 7 deletions
diff --git a/regress/lib/libm/rint/rint.c b/regress/lib/libm/rint/rint.c
index e685152bf24..f6259d11153 100644
--- a/regress/lib/libm/rint/rint.c
+++ b/regress/lib/libm/rint/rint.c
@@ -1,4 +1,4 @@
-/* $OpenBSD: rint.c,v 1.5 2005/11/17 20:09:59 otto Exp $ */
+/* $OpenBSD: rint.c,v 1.6 2005/11/17 20:16:26 otto Exp $ */
/* Written by Michael Shalayeff, 2003, Public domain. */
@@ -34,17 +34,17 @@ main(int argc, char *argv[])
sigaction(SIGFPE, &sa, NULL);
if (rint(8.6) != 9.)
- err(1, "rint");
+ errx(1, "rint");
if (rintf(8.6F) != 9)
- err(1, "rintf");
+ errx(1, "rintf");
if (lrint(8.6) != 9L)
- err(1, "lrint");
+ errx(1, "lrint");
if (lrintf(8.6F) != 9L)
- err(1, "lrintf");
+ errx(1, "lrintf");
if (llrint(8.6) != 9LL)
- err(1, "llrint");
+ errx(1, "llrint");
if (llrintf(8.6F) != 9LL)
- err(1, "llrintf");
+ errx(1, "llrintf");
exit(0);
}