summaryrefslogtreecommitdiff
path: root/sys/compat/svr4/svr4_fcntl.c
diff options
context:
space:
mode:
authorkstailey <kstailey@cvs.openbsd.org>1997-08-29 18:55:57 +0000
committerkstailey <kstailey@cvs.openbsd.org>1997-08-29 18:55:57 +0000
commit73e00379718bcab17e4c0fd22dc3059a46073195 (patch)
treef8a8f3ebbf37a5f1fc70a90d2dd5e800ad89c670 /sys/compat/svr4/svr4_fcntl.c
parent9cb6bc936df5ccc6eb1a4ffb26d4cf5e73a61706 (diff)
patch to avoid warning while I figure out what the deal with SCARG() is.
Diffstat (limited to 'sys/compat/svr4/svr4_fcntl.c')
-rw-r--r--sys/compat/svr4/svr4_fcntl.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/sys/compat/svr4/svr4_fcntl.c b/sys/compat/svr4/svr4_fcntl.c
index e2e96aa0076..630326307bd 100644
--- a/sys/compat/svr4/svr4_fcntl.c
+++ b/sys/compat/svr4/svr4_fcntl.c
@@ -1,4 +1,4 @@
-/* $OpenBSD: svr4_fcntl.c,v 1.8 1997/08/29 18:46:31 kstailey Exp $ */
+/* $OpenBSD: svr4_fcntl.c,v 1.9 1997/08/29 18:55:56 kstailey Exp $ */
/* $NetBSD: svr4_fcntl.c,v 1.14 1995/10/14 20:24:24 christos Exp $ */
/*
@@ -354,7 +354,7 @@ svr4_sys_pwrite(p, v, retval)
return error;
SCARG(&wap, fd) = SCARG(uap, fd);
- SCARG(&wap, buf) = SCARG(uap, buf);
+ SCARG(&wap, buf) = (void *)SCARG(uap, buf);
SCARG(&wap, nbyte) = SCARG(uap, nbyte);
return sys_write(p, &wap, retval);