diff options
author | Theo de Raadt <deraadt@cvs.openbsd.org> | 2011-03-13 00:13:54 +0000 |
---|---|---|
committer | Theo de Raadt <deraadt@cvs.openbsd.org> | 2011-03-13 00:13:54 +0000 |
commit | 498cf2cbf80b299bf6c21307d98f424374b5b18c (patch) | |
tree | 8553045f12ef69e9aaafd5e8e87dfa1fbe23c284 /sys/arch/macppc | |
parent | 87ac327e012b105ceaf428b26525cfa462ccd835 (diff) |
Change daddr_t to daddr32_t. The bootblocks on our architectures only
do 32-bit block spanning. If later on we get some that can/should do
64-bit, that can be done now using daddr64_t (but of course, we are taking
this step to finalize the daddr_t 64-bit conversion).
ok miod krw
Diffstat (limited to 'sys/arch/macppc')
-rw-r--r-- | sys/arch/macppc/stand/ofdev.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/sys/arch/macppc/stand/ofdev.c b/sys/arch/macppc/stand/ofdev.c index fe2e0a2f85b..75aad9cdaad 100644 --- a/sys/arch/macppc/stand/ofdev.c +++ b/sys/arch/macppc/stand/ofdev.c @@ -1,4 +1,4 @@ -/* $OpenBSD: ofdev.c,v 1.16 2010/05/14 19:32:39 drahn Exp $ */ +/* $OpenBSD: ofdev.c,v 1.17 2011/03/13 00:13:53 deraadt Exp $ */ /* $NetBSD: ofdev.c,v 1.1 1997/04/16 20:29:20 thorpej Exp $ */ /* @@ -70,7 +70,7 @@ filename(char *str) } static int -strategy(void *devdata, int rw, daddr_t blk, size_t size, void *buf, +strategy(void *devdata, int rw, daddr32_t blk, size_t size, void *buf, size_t *rsize) { struct of_dev *dev = devdata; |