diff options
Diffstat (limited to 'storeio/dev.h')
-rw-r--r-- | storeio/dev.h | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/storeio/dev.h b/storeio/dev.h index 139668a7..eda7a93d 100644 --- a/storeio/dev.h +++ b/storeio/dev.h @@ -115,7 +115,7 @@ error_t dev_sync (struct dev *dev, int wait); /* Write LEN bytes from BUF to DEV, returning the amount actually written in AMOUNT. If successful, 0 is returned, otherwise an error code is returned. */ -error_t dev_write (struct dev *dev, off_t offs, void *buf, size_t len, +error_t dev_write (struct dev *dev, off_t offs, const void *buf, size_t len, size_t *amount); /* Read up to AMOUNT bytes from DEV, returned in BUF and LEN in the with the |