Module Name:    src
Committed By:   skrll
Date:           Sun Aug  9 06:43:29 UTC 2020

Modified Files:
        src/sys/arch/mips/mips: syscall.c

Log Message:
KNF


To generate a diff of this commit:
cvs rdiff -u -r1.49 -r1.50 src/sys/arch/mips/mips/syscall.c

Please note that diffs are not public domain; they are subject to the
copyright notices on the relevant files.

Modified files:

Index: src/sys/arch/mips/mips/syscall.c
diff -u src/sys/arch/mips/mips/syscall.c:1.49 src/sys/arch/mips/mips/syscall.c:1.50
--- src/sys/arch/mips/mips/syscall.c:1.49	Sun Jul 31 07:06:24 2016
+++ src/sys/arch/mips/mips/syscall.c	Sun Aug  9 06:43:29 2020
@@ -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 @@ EMULNAME(syscall)(struct lwp *l, u_int s
 			 * 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 @@ EMULNAME(syscall)(struct lwp *l, u_int s
 			 * 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)

Reply via email to