The second cast wasn't needed.
Submitted by: bde
This commit is contained in:
parent
ab83cd2d54
commit
c68970939f
@ -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...
|
||||
|
Loading…
Reference in New Issue
Block a user