Source-Changes-HG archive

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

[src/trunk]: src/sys/arch/mips/mips KNF



details:   https://anonhg.NetBSD.org/src/rev/c493a76ba058
branches:  trunk
changeset: 974705:c493a76ba058
user:      skrll <skrll%NetBSD.org@localhost>
date:      Sun Aug 09 06:43:29 2020 +0000

description:
KNF

diffstat:

 sys/arch/mips/mips/syscall.c |  8 ++++----
 1 files changed, 4 insertions(+), 4 deletions(-)

diffs (36 lines):

diff -r 57e95b4ee643 -r c493a76ba058 sys/arch/mips/mips/syscall.c
--- a/sys/arch/mips/mips/syscall.c      Sun Aug 09 06:26:49 2020 +0000
+++ b/sys/arch/mips/mips/syscall.c      Sun Aug 09 06:43:29 2020 +0000
@@ -1,4 +1,4 @@
-/*     $NetBSD: syscall.c,v 1.49 2016/07/31 07:06:24 skrll Exp $       */
+/*     $NetBSD: syscall.c,v 1.50 2020/08/09 06:43:29 skrll Exp $       */
 
 /*-
  * Copyright (c) 2001 The NetBSD Foundation, Inc.
@@ -68,7 +68,7 @@
  */
 
 #include <sys/cdefs.h>
-__KERNEL_RCSID(0, "$NetBSD: syscall.c,v 1.49 2016/07/31 07:06:24 skrll Exp $");
+__KERNEL_RCSID(0, "$NetBSD: syscall.c,v 1.50 2020/08/09 06:43:29 skrll Exp $");
 
 #include <sys/param.h>
 #include <sys/cpu.h>
@@ -196,7 +196,7 @@
                         * Start copying args skipping the register slots
                         * slots on the stack.
                         */
-                       usp = reg->r_regs[_R_SP] + nsaved*sizeof(register_t);
+                       usp = reg->r_regs[_R_SP] + nsaved * sizeof(register_t);
                        error = copyin((register_t *)usp, &copyargs[nregs],
                            (nargs - nregs) * sizeof(copyargs[0]));
                        if (error)
@@ -236,7 +236,7 @@
                         * after skipping the slots for the 4 register passed
                         * arguments.
                         */
-                       usp = reg->r_regs[_R_SP] + 4*sizeof(int32_t);
+                       usp = reg->r_regs[_R_SP] + 4 * sizeof(int32_t);
                        error = copyin((int32_t *)usp, copy32args,
                            (nargs + narg64 - nregs) * sizeof(copy32args[0]));
                        if (error)



Home | Main Index | Thread Index | Old Index