Source-Changes-HG archive

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

[src/trunk]: src/sys/kern Synchronize struct name in rump_syscalls.c and sysc...



details:   https://anonhg.NetBSD.org/src/rev/3a9e012c41a5
branches:  trunk
changeset: 933985:3a9e012c41a5
user:      kamil <kamil%NetBSD.org@localhost>
date:      Tue Jun 02 13:49:15 2020 +0000

description:
Synchronize struct name in rump_syscalls.c and syscallargs.h

Whenever a syscall has alias name, the struct sys_ names shall be the same.

diffstat:

 sys/kern/makesyscalls.sh |  4 ++--
 1 files changed, 2 insertions(+), 2 deletions(-)

diffs (18 lines):

diff -r 68315402b396 -r 3a9e012c41a5 sys/kern/makesyscalls.sh
--- a/sys/kern/makesyscalls.sh  Tue Jun 02 11:40:02 2020 +0000
+++ b/sys/kern/makesyscalls.sh  Tue Jun 02 13:49:15 2020 +0000
@@ -1,4 +1,4 @@
-#      $NetBSD: makesyscalls.sh,v 1.176 2019/11/09 22:05:50 jdolecek Exp $
+#      $NetBSD: makesyscalls.sh,v 1.177 2020/06/02 13:49:15 kamil Exp $
 #
 # Copyright (c) 1994, 1996, 2000 Christopher G. Demetriou
 # All rights reserved.
@@ -765,7 +765,7 @@
 
        printf("\t{") > rumpsysent
        if (argc != 0) {
-               printf("\n\t\tns(struct %ssys_%s_args),", compatwrap_, funcalias) > rumpsysent
+               printf("\n\t\tns(struct %s%s_args),", compatwrap_, funcname) > rumpsysent
        }
 
        printf("\n\t\t.sy_call = %s,\n\t},", fn) > rumpsysent



Home | Main Index | Thread Index | Old Index