mirror of
https://github.com/drasko/codezero.git
synced 2026-02-25 16:23:13 +01:00
Removed vm_object printfs that were for testing exit().
File open was failing when using 2 files with same name. TODO: Look at it in the future. Need to increase writeable file size in fs0. 16 pages don't work.
This commit is contained in:
@@ -22,7 +22,7 @@ int mmaptest(void)
|
||||
void *base;
|
||||
int x = 0x1000;
|
||||
|
||||
if ((fd = open("./newfile.txt", O_CREAT | O_TRUNC | O_RDWR, S_IRWXU)) < 0)
|
||||
if ((fd = open("./newfile3.txt", O_CREAT | O_TRUNC | O_RDWR, S_IRWXU)) < 0)
|
||||
perror("open:");
|
||||
else
|
||||
printf("open: Success.\n");
|
||||
|
||||
Reference in New Issue
Block a user