diff options
author | phk <phk@FreeBSD.org> | 1996-01-07 09:42:36 +0000 |
---|---|---|
committer | phk <phk@FreeBSD.org> | 1996-01-07 09:42:36 +0000 |
commit | 49eb1a9309e30ddddab4191ec774a0933c37570e (patch) | |
tree | 2e4c788acef133c4214c34bd09fec3568831c310 /sys | |
parent | 5318dd95b77bde12017e70a09ed69461782dd072 (diff) | |
download | FreeBSD-src-49eb1a9309e30ddddab4191ec774a0933c37570e.zip FreeBSD-src-49eb1a9309e30ddddab4191ec774a0933c37570e.tar.gz |
The second cast wasn't needed.
Submitted by: bde
Diffstat (limited to 'sys')
-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... |