summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--sys/fs/procfs/procfs_mem.c5
-rw-r--r--sys/kern/kern_acct.c3
-rw-r--r--sys/kern/tty_pty.c5
-rw-r--r--sys/miscfs/procfs/procfs_mem.c5
4 files changed, 11 insertions, 7 deletions
diff --git a/sys/fs/procfs/procfs_mem.c b/sys/fs/procfs/procfs_mem.c
index f297df0..e6fa093 100644
--- a/sys/fs/procfs/procfs_mem.c
+++ b/sys/fs/procfs/procfs_mem.c
@@ -37,7 +37,7 @@
*
* @(#)procfs_mem.c 8.4 (Berkeley) 1/21/94
*
- * $Id: procfs_mem.c,v 1.1.1.1 1994/05/24 10:05:09 rgrimes Exp $
+ * $Id: procfs_mem.c,v 1.2 1994/08/02 07:45:13 davidg Exp $
*/
/*
@@ -180,7 +180,8 @@ procfs_rwmem(p, uio)
* Now do the i/o move.
*/
if (!error)
- error = uiomove(kva + page_offset, len, uio);
+ error = uiomove((caddr_t)(kva + page_offset),
+ len, uio);
vm_map_remove(kernel_map, kva, kva + PAGE_SIZE);
}
diff --git a/sys/kern/kern_acct.c b/sys/kern/kern_acct.c
index 456eb33..95c5660 100644
--- a/sys/kern/kern_acct.c
+++ b/sys/kern/kern_acct.c
@@ -36,10 +36,11 @@
* SUCH DAMAGE.
*
* from: @(#)kern_acct.c 8.1 (Berkeley) 6/14/93
- * $Id$
+ * $Id: kern_acct.c,v 1.3 1994/08/02 07:41:52 davidg Exp $
*/
#include <sys/param.h>
+#include <sys/systm.h>
#include <sys/proc.h>
#include <sys/mount.h>
#include <sys/vnode.h>
diff --git a/sys/kern/tty_pty.c b/sys/kern/tty_pty.c
index d6d4870..210aac6 100644
--- a/sys/kern/tty_pty.c
+++ b/sys/kern/tty_pty.c
@@ -31,7 +31,7 @@
* SUCH DAMAGE.
*
* @(#)tty_pty.c 8.2 (Berkeley) 9/23/93
- * $Id$
+ * $Id: tty_pty.c,v 1.3 1994/08/02 07:42:51 davidg Exp $
*/
/*
@@ -338,7 +338,8 @@ ptcread(dev, uio, flag)
if (pti->pt_send & TIOCPKT_IOCTL) {
cc = min(uio->uio_resid,
sizeof(tp->t_termios));
- uiomove(&tp->t_termios, cc, uio);
+ uiomove((caddr_t)&tp->t_termios, cc,
+ uio);
}
pti->pt_send = 0;
return (0);
diff --git a/sys/miscfs/procfs/procfs_mem.c b/sys/miscfs/procfs/procfs_mem.c
index f297df0..e6fa093 100644
--- a/sys/miscfs/procfs/procfs_mem.c
+++ b/sys/miscfs/procfs/procfs_mem.c
@@ -37,7 +37,7 @@
*
* @(#)procfs_mem.c 8.4 (Berkeley) 1/21/94
*
- * $Id: procfs_mem.c,v 1.1.1.1 1994/05/24 10:05:09 rgrimes Exp $
+ * $Id: procfs_mem.c,v 1.2 1994/08/02 07:45:13 davidg Exp $
*/
/*
@@ -180,7 +180,8 @@ procfs_rwmem(p, uio)
* Now do the i/o move.
*/
if (!error)
- error = uiomove(kva + page_offset, len, uio);
+ error = uiomove((caddr_t)(kva + page_offset),
+ len, uio);
vm_map_remove(kernel_map, kva, kva + PAGE_SIZE);
}
OpenPOWER on IntegriCloud