summaryrefslogtreecommitdiff
path: root/src/stream/fs/vfs.c
diff options
context:
space:
mode:
Diffstat (limited to 'src/stream/fs/vfs.c')
-rw-r--r--src/stream/fs/vfs.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/stream/fs/vfs.c b/src/stream/fs/vfs.c
index 5a37d6fb85..4a298cef2a 100644
--- a/src/stream/fs/vfs.c
+++ b/src/stream/fs/vfs.c
@@ -70,7 +70,7 @@ int mount_fs(void)
{
int i;
- for (i = 0; i < sizeof(fsys_table)/sizeof(fsys_table[0]); i++) {
+ for (i = 0; i < ARRAY_SIZE(fsys_table); i++) {
if (fsys_table[i].mount_func()) {
fsys = &fsys_table[i];
printk_info("Mounted %s\n", fsys->name);