diff options
author | Theo de Raadt <deraadt@cvs.openbsd.org> | 2013-06-11 16:42:20 +0000 |
---|---|---|
committer | Theo de Raadt <deraadt@cvs.openbsd.org> | 2013-06-11 16:42:20 +0000 |
commit | 6b46236c83f9aa5b9cd59b466eeba348ee23825a (patch) | |
tree | ef7eca8601ed03d00b5a9a53b3355f66ed478486 /sys/arch/loongson | |
parent | cc20036a151815396b8c4285e8b3b56f0172f1d5 (diff) |
final removal of daddr64_t. daddr_t has been 64 bit for a long enough
test period; i think 3 years ago the last bugs fell out.
ok otto beck others
Diffstat (limited to 'sys/arch/loongson')
-rw-r--r-- | sys/arch/loongson/stand/boot/dev.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/sys/arch/loongson/stand/boot/dev.c b/sys/arch/loongson/stand/boot/dev.c index 46674ad2ab7..d112228de84 100644 --- a/sys/arch/loongson/stand/boot/dev.c +++ b/sys/arch/loongson/stand/boot/dev.c @@ -1,4 +1,4 @@ -/* $OpenBSD: dev.c,v 1.4 2013/03/23 15:50:23 deraadt Exp $ */ +/* $OpenBSD: dev.c,v 1.5 2013/06/11 16:42:09 deraadt Exp $ */ /* * Copyright (c) 2010 Miodrag Vallat. @@ -80,7 +80,7 @@ pmon_iostrategy(void *f, int rw, daddr32_t dblk, size_t size, void *buf, if (rw != F_READ) return EOPNOTSUPP; - offs = ((daddr64_t)dblk + pi->partoff) * DEV_BSIZE; + offs = ((daddr_t)dblk + pi->partoff) * DEV_BSIZE; if (offs != pi->curpos) { pos = pmon_lseek(pi->fd, offs, 0 /* SEEK_SET */); if (pos != offs) |