aboutsummaryrefslogtreecommitdiff
path: root/storeio/open.h
diff options
context:
space:
mode:
Diffstat (limited to 'storeio/open.h')
-rw-r--r--storeio/open.h6
1 files changed, 3 insertions, 3 deletions
diff --git a/storeio/open.h b/storeio/open.h
index 6be930a6..ad2678ff 100644
--- a/storeio/open.h
+++ b/storeio/open.h
@@ -51,13 +51,13 @@ void open_free (struct open *open);
and returns the number of bytes written in AMOUNT. If no error occurs,
zero is returned, otherwise the error code is returned. */
error_t open_write (struct open *open, off_t offs, const void *buf, size_t len,
- size_t *amount);
+ vm_size_t *amount);
/* Reads up to AMOUNT bytes from the device into BUF and BUF_LEN using the
standard mach out-array convention. If no error occurs, zero is returned,
otherwise the error code is returned. */
-error_t open_read (struct open *open, off_t offs, size_t amount,
- void **buf, size_t *buf_len);
+error_t open_read (struct open *open, off_t offs, vm_size_t amount,
+ void **buf, vm_size_t *buf_len);
/* Set OPEN's location to OFFS, interpreted according to WHENCE as by seek.
The new absolute location is returned in NEW_OFFS (and may not be the same