aboutsummaryrefslogtreecommitdiff
path: root/src/include/mrc_cache.h
diff options
context:
space:
mode:
Diffstat (limited to 'src/include/mrc_cache.h')
-rw-r--r--src/include/mrc_cache.h8
1 files changed, 4 insertions, 4 deletions
diff --git a/src/include/mrc_cache.h b/src/include/mrc_cache.h
index da2bf793d3..f1e6b52010 100644
--- a/src/include/mrc_cache.h
+++ b/src/include/mrc_cache.h
@@ -27,11 +27,11 @@ enum {
* mrc_cache_load_current
*
* Fill in the buffer with the latest slot data. This will be a
- * common entry point for ARM platforms. Returns < 0 on error, 0 on
- * success.
+ * common entry point for ARM platforms. Returns < 0 on error, size
+ * of the returned data on success.
*/
-int mrc_cache_load_current(int type, uint32_t version, void *buffer,
- size_t buffer_size);
+ssize_t mrc_cache_load_current(int type, uint32_t version, void *buffer,
+ size_t buffer_size);
/**
* mrc_cache_mmap_leak
*