diff options
| author | Bruce Evans <bde@FreeBSD.org> | 1994-09-15 19:47:47 +0000 |
|---|---|---|
| committer | Bruce Evans <bde@FreeBSD.org> | 1994-09-15 19:47:47 +0000 |
| commit | 0ad076d56a99b78b2d6b64ba44293144d129031a (patch) | |
| tree | cb67b8c6bb1d5a2960e21e89b41741310a0b98e2 /sys/miscfs | |
| parent | 1dbaf90cdbd90d2f1b9bcc6599e9698f716c5943 (diff) | |
Notes
Diffstat (limited to 'sys/miscfs')
| -rw-r--r-- | sys/miscfs/procfs/procfs_mem.c | 5 |
1 files changed, 3 insertions, 2 deletions
diff --git a/sys/miscfs/procfs/procfs_mem.c b/sys/miscfs/procfs/procfs_mem.c index f297df0bfeb0e..e6fa093dcab23 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); } |
