Source-Changes-HG archive

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

[src/trunk]: src/sys/arch/x86_64/x86_64 Woops, pass the correct argsize to kt...



details:   https://anonhg.NetBSD.org/src/rev/0e7dc7bf475b
branches:  trunk
changeset: 532281:0e7dc7bf475b
user:      fvdl <fvdl%NetBSD.org@localhost>
date:      Tue Jun 04 15:45:05 2002 +0000

description:
Woops, pass the correct argsize to ktrsyscall.

diffstat:

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

diffs (18 lines):

diff -r 067f202bfb5c -r 0e7dc7bf475b sys/arch/x86_64/x86_64/syscall.c
--- a/sys/arch/x86_64/x86_64/syscall.c  Tue Jun 04 15:44:34 2002 +0000
+++ b/sys/arch/x86_64/x86_64/syscall.c  Tue Jun 04 15:45:05 2002 +0000
@@ -1,4 +1,4 @@
-/*     $NetBSD: syscall.c,v 1.3 2002/06/03 18:23:17 fvdl Exp $ */
+/*     $NetBSD: syscall.c,v 1.4 2002/06/04 15:45:05 fvdl Exp $ */
 
 /*-
  * Copyright (c) 1998, 2000 The NetBSD Foundation, Inc.
@@ -249,7 +249,7 @@
 #endif /* SYSCALL_DEBUG */
 #ifdef KTRACE
        if (KTRPOINT(p, KTR_SYSCALL))
-               ktrsyscall(p, code, argsize, args);
+               ktrsyscall(p, code, callp->sy_argsize, args);
 #endif /* KTRACE */
 
        rval[0] = 0;



Home | Main Index | Thread Index | Old Index