Use daddr_t instead of u_long for byte offset in strategy
routine to avoid >4G truncation on 32-bit systems. no objection by: sparc64
This commit is contained in:
parent
69a8dff7af
commit
e2776725d7
Notes:
svn2git
2020-12-20 02:59:44 +00:00
svn path=/head/; revision=123700
@ -70,7 +70,7 @@ ofwd_strategy(void *devdata, int flag, daddr_t dblk, size_t size, char *buf,
|
||||
size_t *rsize)
|
||||
{
|
||||
struct ofw_devdesc *dp = (struct ofw_devdesc *)devdata;
|
||||
unsigned long pos;
|
||||
daddr_t pos;
|
||||
int n;
|
||||
int i, j;
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user