Or maybe there is something wrong with the entries, hence the address of child outputs as 0x1 My question is, how do I change load_inodes so that the rest of the code will work? My guess was I had to use malloc add the data to the heap to get it right. I have printed the addresses both inside the load_inodes function and inside debug_fs. However I get a segmentation fault, and do not know how to fix it. ![]() I am trying to read data from a binary file into an inode struct.
0 Comments
Leave a Reply. |
AuthorWrite something about yourself. No need to be fancy, just an overview. ArchivesCategories |