Source-Changes-HG archive
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]
[src/trunk]: src/sys/kern regen
details: https://anonhg.NetBSD.org/src/rev/96b0b03bf917
branches: trunk
changeset: 378465:96b0b03bf917
user: christos <christos%NetBSD.org@localhost>
date: Tue Apr 13 22:46:13 2021 +0000
description:
regen
diffstat:
sys/kern/systrace_args.c | 6 +++---
1 files changed, 3 insertions(+), 3 deletions(-)
diffs (27 lines):
diff -r aef5a4ab5f6f -r 96b0b03bf917 sys/kern/systrace_args.c
--- a/sys/kern/systrace_args.c Tue Apr 13 22:45:32 2021 +0000
+++ b/sys/kern/systrace_args.c Tue Apr 13 22:46:13 2021 +0000
@@ -1,4 +1,4 @@
-/* $NetBSD: systrace_args.c,v 1.45 2021/02/17 06:25:10 rillig Exp $ */
+/* $NetBSD: systrace_args.c,v 1.46 2021/04/13 22:46:13 christos Exp $ */
/*
* System call argument to DTrace register array conversion.
@@ -16,7 +16,7 @@ systrace_args(register_t sysnum, const v
case 0: {
const struct sys_syscall_args *p = params;
iarg[0] = SCARG(p, code); /* int */
- iarg[1] = SCARG(p, args[SYS_MAXSYSARGS]); /* register_t */
+ uarg[1] = (intptr_t) SCARG(p, args); /* register_t */
*n_args = 2;
break;
}
@@ -1460,7 +1460,7 @@ systrace_args(register_t sysnum, const v
case 198: {
const struct sys___syscall_args *p = params;
iarg[0] = SCARG(p, code); /* quad_t */
- iarg[1] = SCARG(p, args[SYS_MAXSYSARGS]); /* register_t */
+ uarg[1] = (intptr_t) SCARG(p, args); /* register_t */
*n_args = 2;
break;
}
Home |
Main Index |
Thread Index |
Old Index