From 5c33ecfc8b074dc221a195406b4caaf4aa7d7fef Mon Sep 17 00:00:00 2001 From: miod Date: Fri, 28 Oct 2022 16:06:54 +0000 Subject: [PATCH] Fix indent botch; noticed by kettenis@ --- regress/sys/kern/signal/fpsig/fpsig.c | 17 +++++++++-------- 1 file 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); -- 2.20.1