From 8c485c36905ea34dd40f5f5cce8212d174578640 Mon Sep 17 00:00:00 2001 From: pk Date: Wed, 28 Feb 1996 16:06:02 +0000 Subject: [PATCH] syscalls.master changed. --- sys/compat/sunos/sunos_syscallargs.h | 8 +++++++- sys/compat/sunos/sunos_sysent.c | 4 ++-- 2 files changed, 9 insertions(+), 3 deletions(-) diff --git a/sys/compat/sunos/sunos_syscallargs.h b/sys/compat/sunos/sunos_syscallargs.h index cf9f3da584bb..adab05137e9c 100644 --- a/sys/compat/sunos/sunos_syscallargs.h +++ b/sys/compat/sunos/sunos_syscallargs.h @@ -97,6 +97,12 @@ struct sunos_sys_setpgrp_args { syscallarg(int) pgid; }; +struct sunos_sys_fcntl_args { + syscallarg(int) fd; + syscallarg(int) cmd; + syscallarg(void *) arg; +}; + struct sunos_sys_setsockopt_args { syscallarg(int) s; syscallarg(int) level; @@ -268,7 +274,7 @@ int compat_43_sys_gethostname __P((struct proc *, void *, register_t *)); int compat_43_sys_sethostname __P((struct proc *, void *, register_t *)); int compat_43_sys_getdtablesize __P((struct proc *, void *, register_t *)); int sys_dup2 __P((struct proc *, void *, register_t *)); -int sys_fcntl __P((struct proc *, void *, register_t *)); +int sunos_sys_fcntl __P((struct proc *, void *, register_t *)); int sys_select __P((struct proc *, void *, register_t *)); int sys_fsync __P((struct proc *, void *, register_t *)); int sys_setpriority __P((struct proc *, void *, register_t *)); diff --git a/sys/compat/sunos/sunos_sysent.c b/sys/compat/sunos/sunos_sysent.c index dbd17ba4f5eb..032bea5a5521 100644 --- a/sys/compat/sunos/sunos_sysent.c +++ b/sys/compat/sunos/sunos_sysent.c @@ -218,8 +218,8 @@ struct sysent sunos_sysent[] = { sys_dup2 }, /* 90 = dup2 */ { 0, 0, sys_nosys }, /* 91 = unimplemented getdopt */ - { 3, s(struct sys_fcntl_args), - sys_fcntl }, /* 92 = fcntl */ + { 3, s(struct sunos_sys_fcntl_args), + sunos_sys_fcntl }, /* 92 = fcntl */ { 5, s(struct sys_select_args), sys_select }, /* 93 = select */ { 0, 0,