aboutsummaryrefslogtreecommitdiff
path: root/src/kernel
diff options
context:
space:
mode:
authorAlex Auvolat <alex.auvolat@ens.fr>2015-02-24 20:58:28 +0100
committerAlex Auvolat <alex.auvolat@ens.fr>2015-02-24 20:58:28 +0100
commit97b99304ee11cf82235d35c8e4772e8ef3fc2420 (patch)
tree92ec513d2f365ad5a6a4c50b668e653a9d697ab8 /src/kernel
parent990e4785820136f2ab4a3bf4c1afbf0e8cf28b3c (diff)
downloadkogata-97b99304ee11cf82235d35c8e4772e8ef3fc2420.tar.gz
kogata-97b99304ee11cf82235d35c8e4772e8ef3fc2420.zip
Another important lesson.
Diffstat (limited to 'src/kernel')
-rw-r--r--src/kernel/fs/iso9660.c2
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));