From 498cf2cbf80b299bf6c21307d98f424374b5b18c Mon Sep 17 00:00:00 2001 From: Theo de Raadt Date: Sun, 13 Mar 2011 00:13:54 +0000 Subject: 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 --- sys/arch/macppc/stand/ofdev.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'sys/arch/macppc') 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; -- cgit v1.2.3