Skip to content

Commit

Permalink
final commit
Browse files Browse the repository at this point in the history
  • Loading branch information
TwoUnderscorez committed May 26, 2018
1 parent 6d0abc2 commit 75e0cb0
Show file tree
Hide file tree
Showing 2 changed files with 1 addition and 1 deletion.
Binary file modified filesystem/kernel/kernel.sys
Binary file not shown.
2 changes: 1 addition & 1 deletion src/drivers/ext2.c
Original file line number Diff line number Diff line change
Expand Up @@ -245,7 +245,7 @@ EXT2_DIRECTORY_ENTRY_t * load_directory_structure(int inode_num, void * buff) {
load_inode(inode_num, inode);
EXT2_DIRECTORY_ENTRY_t * dirinfo = (EXT2_DIRECTORY_ENTRY_t *)buff;
if(!dirinfo) puts("null");
memset((void *)dirinfo, '\0', 2*inode->size_low);
memset((void *)dirinfo, '\0', inode->size_low);
int i;
// read the contents
for(i = 0; i < inode->size_low/(1024<<ext2_superblock->LOG2_BLOCK_SIZE); i++) {
Expand Down

0 comments on commit 75e0cb0

Please sign in to comment.