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/e3d8ea097743
branches: trunk
changeset: 936926:e3d8ea097743
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 b31215ba70ca -r e3d8ea097743 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, ©args[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