aboutsummaryrefslogtreecommitdiffstats
path: root/os
diff options
context:
space:
mode:
Diffstat (limited to 'os')
-rw-r--r--os/kernel/include/chfiles.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/os/kernel/include/chfiles.h b/os/kernel/include/chfiles.h
index 4d2192eec..03313d13a 100644
--- a/os/kernel/include/chfiles.h
+++ b/os/kernel/include/chfiles.h
@@ -134,7 +134,7 @@ typedef struct {
*
* @api
*/
-#define chFileStreamGetSize(ip) ((ip)->vmt->getposition(ip))
+#define chFileStreamGetSize(ip) ((ip)->vmt->getsize(ip))
/**
* @brief Returns the current file pointer position.