summaryrefslogtreecommitdiff
path: root/regress/sys/kern
diff options
context:
space:
mode:
authorMiod Vallat <miod@cvs.openbsd.org>2022-10-28 16:06:55 +0000
committerMiod Vallat <miod@cvs.openbsd.org>2022-10-28 16:06:55 +0000
commit76d99f04869705c86a7aa7ffb313872f02329dcb (patch)
tree226559582f99d747361b72f8a4fae1335cdb18da /regress/sys/kern
parent99b98422054253d7c2a0463565db00fc2bde14ed (diff)
Fix indent botch; noticed by kettenis@
Diffstat (limited to 'regress/sys/kern')
-rw-r--r--regress/sys/kern/signal/fpsig/fpsig.c17
1 files changed, 9 insertions, 8 deletions
diff --git a/regress/sys/kern/signal/fpsig/fpsig.c b/regress/sys/kern/signal/fpsig/fpsig.c
index 5830ab10b91..b53af6f6bbd 100644
--- a/regress/sys/kern/signal/fpsig/fpsig.c
+++ b/regress/sys/kern/signal/fpsig/fpsig.c
@@ -1,4 +1,4 @@
-/* $OpenBSD: fpsig.c,v 1.3 2022/10/25 19:55:31 miod Exp $ */
+/* $OpenBSD: fpsig.c,v 1.4 2022/10/28 16:06:54 miod Exp $ */
/*
* Public domain. 2005, Otto Moerbeek
@@ -53,14 +53,15 @@ main()
while (count < 10000) {
handler(0);
- double a, b, h1 = g1, h2 = g2;
- for (a = 0.0; a < LIMIT; a += 1.1)
- for (b = 0.0; b < LIMIT; b += 1.1)
- h1 += a * a + b * b;
- for (a = 0.0; a < LIMIT; a += 1.1)
- for (b = 0.0; b < LIMIT; b += 1.1)
- h2 += a * a + b * b;
+ double a, b, h1 = g1, h2 = g2;
+
+ for (a = 0.0; a < LIMIT; a += 1.1)
+ for (b = 0.0; b < LIMIT; b += 1.1)
+ h1 += a * a + b * b;
+ for (a = 0.0; a < LIMIT; a += 1.1)
+ for (b = 0.0; b < LIMIT; b += 1.1)
+ h2 += a * a + b * b;
if (h1 != h2)
errx(1, "%f %f", g1, g2);