Source-Changes-HG archive

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

[src/trunk]: src/sys/kern kern_resource.c: Fix brace placement.



details:   https://anonhg.NetBSD.org/src/rev/9943d5a746ac
branches:  trunk
changeset: 377349:9943d5a746ac
user:      riastradh <riastradh%NetBSD.org@localhost>
date:      Sat Jul 08 11:42:03 2023 +0000

description:
kern_resource.c: Fix brace placement.

No functional change intended.

diffstat:

 sys/kern/kern_resource.c |  7 ++++---
 1 files changed, 4 insertions(+), 3 deletions(-)

diffs (28 lines):

diff -r 4583225a2388 -r 9943d5a746ac sys/kern/kern_resource.c
--- a/sys/kern/kern_resource.c  Sat Jul 08 11:18:16 2023 +0000
+++ b/sys/kern/kern_resource.c  Sat Jul 08 11:42:03 2023 +0000
@@ -1,4 +1,4 @@
-/*     $NetBSD: kern_resource.c,v 1.189 2022/04/09 23:38:33 riastradh Exp $    */
+/*     $NetBSD: kern_resource.c,v 1.190 2023/07/08 11:42:03 riastradh Exp $    */
 
 /*-
  * Copyright (c) 1982, 1986, 1991, 1993
@@ -37,7 +37,7 @@
  */
 
 #include <sys/cdefs.h>
-__KERNEL_RCSID(0, "$NetBSD: kern_resource.c,v 1.189 2022/04/09 23:38:33 riastradh Exp $");
+__KERNEL_RCSID(0, "$NetBSD: kern_resource.c,v 1.190 2023/07/08 11:42:03 riastradh Exp $");
 
 #include <sys/param.h>
 #include <sys/systm.h>
@@ -601,7 +601,8 @@ sys___getrusage50(struct lwp *l, const s
 }
 
 int
-getrusage1(struct proc *p, int who, struct rusage *ru) {
+getrusage1(struct proc *p, int who, struct rusage *ru)
+{
 
        switch (who) {
        case RUSAGE_SELF:



Home | Main Index | Thread Index | Old Index