diff options
Diffstat (limited to 'sys/ufs')
-rw-r--r-- | sys/ufs/ufs/ufs_readwrite.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/sys/ufs/ufs/ufs_readwrite.c b/sys/ufs/ufs/ufs_readwrite.c index cf084df..582595c 100644 --- a/sys/ufs/ufs/ufs_readwrite.c +++ b/sys/ufs/ufs/ufs_readwrite.c @@ -31,7 +31,7 @@ * SUCH DAMAGE. * * @(#)ufs_readwrite.c 8.7 (Berkeley) 1/21/94 - * $Id: ufs_readwrite.c,v 1.17 1995/12/11 04:57:47 dyson Exp $ + * $Id: ufs_readwrite.c,v 1.18 1996/01/06 12:49:53 phk Exp $ */ #ifdef LFS_READWRITE @@ -382,7 +382,7 @@ ffs_getpages(ap) } } - physoffset = (off_t)reqblkno * DEV_BSIZE + (off_t)poff * PAGE_SIZE; + physoffset = (off_t)reqblkno * DEV_BSIZE + poff * PAGE_SIZE; pagesperblock = bsize / PAGE_SIZE; /* * find the first page that is contiguous... |