summaryrefslogtreecommitdiffstats
path: root/sys/compat/svr4/svr4_stream.c
diff options
context:
space:
mode:
Diffstat (limited to 'sys/compat/svr4/svr4_stream.c')
-rw-r--r--sys/compat/svr4/svr4_stream.c6
1 files changed, 3 insertions, 3 deletions
diff --git a/sys/compat/svr4/svr4_stream.c b/sys/compat/svr4/svr4_stream.c
index ed7c8fa..45a2a5e 100644
--- a/sys/compat/svr4/svr4_stream.c
+++ b/sys/compat/svr4/svr4_stream.c
@@ -1549,9 +1549,9 @@ svr4_stream_ioctl(fp, p, retval, fd, cmd, dat)
return i_nread(fp, p, retval, fd, cmd, dat);
case SVR4_I_PUSH:
- DPRINTF(("I_PUSH %x\n", dat));
+ DPRINTF(("I_PUSH %p\n", dat));
#if defined(DEBUG_SVR4)
- show_strbuf(dat);
+ show_strbuf((struct svr4_strbuf *)dat);
#endif
return 0;
@@ -2270,7 +2270,7 @@ svr4_sys_sendto(p, uap)
SCARG(&sa, buf) = SCARG(uap, buf);
SCARG(&sa, len) = SCARG(uap, len);
SCARG(&sa, flags) = SCARG(uap, flags);
- SCARG(&sa, to) = SCARG(uap, to);
+ SCARG(&sa, to) = (caddr_t)SCARG(uap, to);
SCARG(&sa, tolen) = SCARG(uap, tolen);
DPRINTF(("calling sendto()\n"));
OpenPOWER on IntegriCloud