ext2: use struct vnode instead of struct file
This commit is contained in:
parent
963a58cb53
commit
d61edcbe7b
6 changed files with 55 additions and 28 deletions
|
|
@ -182,7 +182,7 @@ int kcmd_stat(int argc, char **argv)
|
|||
}
|
||||
|
||||
kprintf("File: %s\n", argv[1]);
|
||||
kprintf("Size: %d\n", file->vnode.size);
|
||||
kprintf("Size: %d\n", file->vnode->size);
|
||||
|
||||
return 0;
|
||||
}
|
||||
|
|
|
|||
Loading…
Reference in a new issue