Source-Changes-HG archive
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]
[src/trunk]: src/sys/arch/sparc64/sparc64 Fix ktrace call for 32-bit kernels.
details: https://anonhg.NetBSD.org/src/rev/3b0d18da9f30
branches: trunk
changeset: 533241:3b0d18da9f30
user: eeh <eeh%NetBSD.org@localhost>
date: Tue Jun 25 17:37:03 2002 +0000
description:
Fix ktrace call for 32-bit kernels.
diffstat:
sys/arch/sparc64/sparc64/trap.c | 5 ++---
1 files changed, 2 insertions(+), 3 deletions(-)
diffs (19 lines):
diff -r f4eebf975508 -r 3b0d18da9f30 sys/arch/sparc64/sparc64/trap.c
--- a/sys/arch/sparc64/sparc64/trap.c Tue Jun 25 16:31:43 2002 +0000
+++ b/sys/arch/sparc64/sparc64/trap.c Tue Jun 25 17:37:03 2002 +0000
@@ -1,4 +1,4 @@
-/* $NetBSD: trap.c,v 1.80 2002/06/19 23:32:01 eeh Exp $ */
+/* $NetBSD: trap.c,v 1.81 2002/06/25 17:37:03 eeh Exp $ */
/*
* Copyright (c) 1996-2002 Eduardo Horvath. All rights reserved.
@@ -1966,8 +1966,7 @@
temp[j] = args.i[j];
ktrsyscall(p, code, (register_t *)temp);
#else
- ktrsyscall(p, code,
- callp->sy_argsize, (register_t *)args.i);
+ ktrsyscall(p, code, (register_t *)&args.i);
#endif
}
if (error) {
Home |
Main Index |
Thread Index |
Old Index