Source-Changes-HG archive

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

[src/trunk]: src/sys/kern utrace(2): rename 'id' parameter to 'label'



details:   https://anonhg.NetBSD.org/src/rev/91ad5280d093
branches:  trunk
changeset: 501695:91ad5280d093
user:      jdolecek <jdolecek%NetBSD.org@localhost>
date:      Fri Jan 05 21:42:08 2001 +0000

description:
utrace(2): rename 'id' parameter to 'label'

diffstat:

 sys/kern/kern_ktrace.c   |  6 +++---
 sys/kern/syscalls.master |  4 ++--
 2 files changed, 5 insertions(+), 5 deletions(-)

diffs (43 lines):

diff -r 9074c3641cd7 -r 91ad5280d093 sys/kern/kern_ktrace.c
--- a/sys/kern/kern_ktrace.c    Fri Jan 05 21:32:34 2001 +0000
+++ b/sys/kern/kern_ktrace.c    Fri Jan 05 21:42:08 2001 +0000
@@ -1,4 +1,4 @@
-/*     $NetBSD: kern_ktrace.c,v 1.51 2000/12/28 11:10:15 jdolecek Exp $        */
+/*     $NetBSD: kern_ktrace.c,v 1.52 2001/01/05 21:42:09 jdolecek Exp $        */
 
 /*
  * Copyright (c) 1989, 1993
@@ -665,7 +665,7 @@
 {
 #ifdef KTRACE
        struct sys_utrace_args /* {
-               syscallarg(const char *) id;
+               syscallarg(const char *) label;
                syscallarg(void *) addr;
                syscallarg(size_t) len;
        } */ *uap = v;
@@ -673,7 +673,7 @@
        if (!KTRPOINT(p, KTR_USER))
                return (0);
 
-       ktruser(p, SCARG(uap, id), SCARG(uap, addr), SCARG(uap, len), 1);
+       ktruser(p, SCARG(uap, label), SCARG(uap, addr), SCARG(uap, len), 1);
 
        return (0);
 #else /* !KTRACE */
diff -r 9074c3641cd7 -r 91ad5280d093 sys/kern/syscalls.master
--- a/sys/kern/syscalls.master  Fri Jan 05 21:32:34 2001 +0000
+++ b/sys/kern/syscalls.master  Fri Jan 05 21:42:08 2001 +0000
@@ -1,4 +1,4 @@
-       $NetBSD: syscalls.master,v 1.105 2000/12/28 11:10:15 jdolecek Exp $
+       $NetBSD: syscalls.master,v 1.106 2001/01/05 21:42:08 jdolecek Exp $
 
 ;      @(#)syscalls.master     8.2 (Berkeley) 1/13/94
 
@@ -605,5 +605,5 @@
 #endif
 304    STD             { int sys_lchflags(const char *path, u_long flags); }
 305    STD             { int sys_issetugid(void); }
-306    STD             { int sys_utrace(const char *id, void *addr, \
+306    STD             { int sys_utrace(const char *label, void *addr, \
                                size_t len); }



Home | Main Index | Thread Index | Old Index