Source-Changes-HG archive

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

[src/trunk]: src/tests/kernel t_open_pr_57260.c: KNF a block (spaces to tabs)



details:   https://anonhg.NetBSD.org/src/rev/0e26cb068c0d
branches:  trunk
changeset: 374440:0e26cb068c0d
user:      gutteridge <gutteridge%NetBSD.org@localhost>
date:      Sun Apr 23 00:46:46 2023 +0000

description:
t_open_pr_57260.c: KNF a block (spaces to tabs)

diffstat:

 tests/kernel/t_open_pr_57260.c |  16 ++++++++--------
 1 files changed, 8 insertions(+), 8 deletions(-)

diffs (37 lines):

diff -r 3b795ecb5349 -r 0e26cb068c0d tests/kernel/t_open_pr_57260.c
--- a/tests/kernel/t_open_pr_57260.c    Sat Apr 22 20:54:28 2023 +0000
+++ b/tests/kernel/t_open_pr_57260.c    Sun Apr 23 00:46:46 2023 +0000
@@ -1,4 +1,4 @@
-/*     $NetBSD: t_open_pr_57260.c,v 1.1 2023/04/21 21:50:05 gutteridge Exp $   */
+/*     $NetBSD: t_open_pr_57260.c,v 1.2 2023/04/23 00:46:46 gutteridge Exp $   */
 
 /*-
  * Copyright (c) 2023 The NetBSD Foundation, Inc.
@@ -30,7 +30,7 @@
  */
 
 #include <sys/cdefs.h>
-__RCSID("$NetBSD: t_open_pr_57260.c,v 1.1 2023/04/21 21:50:05 gutteridge Exp $");
+__RCSID("$NetBSD: t_open_pr_57260.c,v 1.2 2023/04/23 00:46:46 gutteridge Exp $");
 
 #include <sys/stat.h>
 
@@ -49,12 +49,12 @@ static void
 on_alarm(int sig)
 {
 
-    if (!alarmed) {
-        alarmed = 1;
-        alarm(1);
-    } else {
-        longjmp(env, 1);
-    }
+       if (!alarmed) {
+               alarmed = 1;
+               alarm(1);
+       } else {
+               longjmp(env, 1);
+       }
 }
 
 ATF_TC(openrestartsignal);



Home | Main Index | Thread Index | Old Index