scdebug_call() takes an LWP and not a proc as it's first argument.

This commit is contained in:
simonb 2003-05-23 12:58:18 +00:00
parent 2ad510ea55
commit 4f5bd23f68

View File

@ -1,4 +1,4 @@
/* $NetBSD: syscall.c,v 1.15 2003/01/17 23:36:18 thorpej Exp $ */
/* $NetBSD: syscall.c,v 1.16 2003/05/23 12:58:18 simonb Exp $ */
/*-
* Copyright (c) 2001 The NetBSD Foundation, Inc.
@ -80,7 +80,7 @@
#include <sys/cdefs.h> /* RCS ID & Copyright macro defns */
__KERNEL_RCSID(0, "$NetBSD: syscall.c,v 1.15 2003/01/17 23:36:18 thorpej Exp $");
__KERNEL_RCSID(0, "$NetBSD: syscall.c,v 1.16 2003/05/23 12:58:18 simonb Exp $");
#if defined(_KERNEL_OPT)
#include "opt_ktrace.h"
@ -259,7 +259,7 @@ EMULNAME(syscall_plain)(struct lwp *l, u_int status, u_int cause, u_int opc)
}
#ifdef SYSCALL_DEBUG
scdebug_call(p, code, (register_t *)args);
scdebug_call(l, code, (register_t *)args);
#endif
#if !defined(_MIPS_BSD_API) || _MIPS_BSD_API == _MIPS_BSD_API_LP32