aboutsummaryrefslogtreecommitdiff
path: root/sys
diff options
context:
space:
mode:
authorAlfred Perlstein <alfred@FreeBSD.org>2002-01-13 12:07:15 +0000
committerAlfred Perlstein <alfred@FreeBSD.org>2002-01-13 12:07:15 +0000
commitda10530228e9ba82b7064e2c7fa87c907167e64e (patch)
tree7a78444854df696f9877678077f1233ec8660963 /sys
parent297f86dcd22a61f0450cb338903a0347999f17a0 (diff)
Notes
Diffstat (limited to 'sys')
-rw-r--r--sys/compat/svr4/svr4_stream.c10
1 files changed, 5 insertions, 5 deletions
diff --git a/sys/compat/svr4/svr4_stream.c b/sys/compat/svr4/svr4_stream.c
index 6681acca4f53..2d8ea84d631e 100644
--- a/sys/compat/svr4/svr4_stream.c
+++ b/sys/compat/svr4/svr4_stream.c
@@ -77,9 +77,9 @@
/* Utils */
static int clean_pipe __P((struct thread *, const char *));
static void getparm __P((struct file *, struct svr4_si_sockparms *));
-static int svr4_do_putmsg __P((struct proc *, struct svr4_sys_putmsg_args *,
+static int svr4_do_putmsg __P((struct thread *, struct svr4_sys_putmsg_args *,
struct file *));
-static int svr4_do_getmsg __P((struct proc *, struct svr4_sys_getmsg_args *,
+static int svr4_do_getmsg __P((struct thread *, struct svr4_sys_getmsg_args *,
struct file *));
/* Address Conversions */
@@ -1898,8 +1898,8 @@ svr4_do_putmsg(td, uap, fp)
}
int
-svr4_sys_getmsg(p, uap)
- struct proc *p;
+svr4_sys_getmsg(td, uap)
+ struct thread *td;
struct svr4_sys_getmsg_args *uap;
{
struct file *fp;
@@ -1912,7 +1912,7 @@ svr4_sys_getmsg(p, uap)
#endif
return EBADF;
}
- error = svr4_do_getmsg(p, uap, fp);
+ error = svr4_do_getmsg(td, uap, fp);
fdrop(fp, td);
return (error);
}