Source-Changes-HG archive

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

[src/trunk]: src/sys/compat/hpux sync to new ktrsyscall() interface.



details:   https://anonhg.NetBSD.org/src/rev/69547e165222
branches:  trunk
changeset: 533100:69547e165222
user:      gmcgarry <gmcgarry%NetBSD.org@localhost>
date:      Fri Jun 21 05:48:06 2002 +0000

description:
sync to new ktrsyscall() interface.

diffstat:

 sys/compat/hpux/hpux_net.c |  16 ++++++----------
 1 files changed, 6 insertions(+), 10 deletions(-)

diffs (41 lines):

diff -r ce9d100445b1 -r 69547e165222 sys/compat/hpux/hpux_net.c
--- a/sys/compat/hpux/hpux_net.c        Fri Jun 21 02:57:29 2002 +0000
+++ b/sys/compat/hpux/hpux_net.c        Fri Jun 21 05:48:06 2002 +0000
@@ -1,4 +1,4 @@
-/*     $NetBSD: hpux_net.c,v 1.22 2001/11/13 02:08:15 lukem Exp $      */
+/*     $NetBSD: hpux_net.c,v 1.23 2002/06/21 05:48:06 gmcgarry Exp $   */
 
 /*
  * Copyright (c) 1988 University of Utah.
@@ -47,7 +47,7 @@
  */
 
 #include <sys/cdefs.h>
-__KERNEL_RCSID(0, "$NetBSD: hpux_net.c,v 1.22 2001/11/13 02:08:15 lukem Exp $");
+__KERNEL_RCSID(0, "$NetBSD: hpux_net.c,v 1.23 2002/06/21 05:48:06 gmcgarry Exp $");
 
 #if defined(_KERNEL_OPT)
 #include "opt_ktrace.h"
@@ -164,18 +164,14 @@
        if ((i = hpuxtobsdipc[code].nargs * sizeof (int)) &&
            (error = copyin((caddr_t)args, (caddr_t)uap, (u_int)i))) {
 #ifdef KTRACE
-                if (KTRPOINT(p, KTR_SYSCALL))
-                        ktrsyscall(p, code + MINBSDIPCCODE,
-                                  hpuxtobsdipc[code].nargs,
-                                  (register_t *)uap);
+               if (KTRPOINT(p, KTR_SYSCALL))
+                       ktrsyscall(p, code + MINBSDIPCCODE, (register_t *)uap);
 #endif
                return (error);
        }
 #ifdef KTRACE
-        if (KTRPOINT(p, KTR_SYSCALL))
-                ktrsyscall(p, code + MINBSDIPCCODE,
-                          hpuxtobsdipc[code].nargs,
-                          (register_t *)uap);
+       if (KTRPOINT(p, KTR_SYSCALL))
+               ktrsyscall(p, code + MINBSDIPCCODE, (register_t *)uap);
 #endif
        return ((*hpuxtobsdipc[code].rout)(p, uap, retval));
 }



Home | Main Index | Thread Index | Old Index