diff options
author | Artur Grabowski <art@cvs.openbsd.org> | 2000-11-10 18:15:50 +0000 |
---|---|---|
committer | Artur Grabowski <art@cvs.openbsd.org> | 2000-11-10 18:15:50 +0000 |
commit | 7c2c0cece14deee41a6cc3def2928808d73881b0 (patch) | |
tree | 871f91c39959ffa32ae5ac773513265eb121d8c9 /sys/compat/hpux/hpux_net.c | |
parent | 38a9424b2fc187e798fe3a91366490408b112921 (diff) |
Change the ktrace interface functions from taking the trace vnode to taking the
traced proc. The vnode is in the proc and all functions need the proc.
Diffstat (limited to 'sys/compat/hpux/hpux_net.c')
-rw-r--r-- | sys/compat/hpux/hpux_net.c | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/sys/compat/hpux/hpux_net.c b/sys/compat/hpux/hpux_net.c index 574f459fec3..6703a495ac6 100644 --- a/sys/compat/hpux/hpux_net.c +++ b/sys/compat/hpux/hpux_net.c @@ -1,4 +1,4 @@ -/* $OpenBSD: hpux_net.c,v 1.3 1997/04/16 09:18:07 downsj Exp $ */ +/* $OpenBSD: hpux_net.c,v 1.4 2000/11/10 18:15:44 art Exp $ */ /* $NetBSD: hpux_net.c,v 1.14 1997/04/01 19:59:02 scottr Exp $ */ /* @@ -161,7 +161,7 @@ hpux_sys_netioctl(p, v, retval) (error = copyin((caddr_t)args, (caddr_t)uap, (u_int)i))) { #ifdef KTRACE if (KTRPOINT(p, KTR_SYSCALL)) - ktrsyscall(p->p_tracep, code + MINBSDIPCCODE, + ktrsyscall(p, code + MINBSDIPCCODE, hpuxtobsdipc[code].nargs, (register_t *)uap); #endif @@ -169,7 +169,7 @@ hpux_sys_netioctl(p, v, retval) } #ifdef KTRACE if (KTRPOINT(p, KTR_SYSCALL)) - ktrsyscall(p->p_tracep, code + MINBSDIPCCODE, + ktrsyscall(p, code + MINBSDIPCCODE, hpuxtobsdipc[code].nargs, (register_t *)uap); #endif |