diff options
Diffstat (limited to 'src')
-rw-r--r-- | src/kernel/fs/iso9660.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/kernel/fs/iso9660.c b/src/kernel/fs/iso9660.c index 505f279..f1b8a90 100644 --- a/src/kernel/fs/iso9660.c +++ b/src/kernel/fs/iso9660.c @@ -208,7 +208,7 @@ bool iso9660_dir_walk(fs_node_ptr n, const char* search_for, struct fs_node *nod if (strncmp(name, search_for, len) == 0) { // Found it ! - iso9660_node_t *n = (iso9660_node_t*)malloc(sizeof(iso9660_node_t*)); + iso9660_node_t *n = (iso9660_node_t*)malloc(sizeof(iso9660_node_t)); if (n == 0) return false; memcpy(&n->dr, dr, sizeof(iso9660_dr_t)); |