diff options
Diffstat (limited to 'sys/kern/vfs_cache.c')
-rw-r--r-- | sys/kern/vfs_cache.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/sys/kern/vfs_cache.c b/sys/kern/vfs_cache.c index 7586325..fe31c75 100644 --- a/sys/kern/vfs_cache.c +++ b/sys/kern/vfs_cache.c @@ -117,7 +117,7 @@ vfs_cache_fetch_mp(const char *path, struct mount **mp) void vfs_init_cache(void) { - mountlist = dynalloc(sizeof(struct mount) * MOUNTLIST_SIZE); + mountlist = dynalloc(sizeof(struct mountlist_entry) * MOUNTLIST_SIZE); __assert(mountlist != NULL); for (size_t i = 0; i < MOUNTLIST_SIZE; ++i) { |