Skip to content
Snippets Groups Projects
Commit 67711051 authored by a2-stratford's avatar a2-stratford
Browse files

Updated syscall.c to include filesize

parent 89f9af8d
No related branches found
No related tags found
2 merge requests!22Merge Feature/system calls,!6Implemented filesize system call
...@@ -78,8 +78,8 @@ syscall_handler (struct intr_frame *f UNUSED) ...@@ -78,8 +78,8 @@ syscall_handler (struct intr_frame *f UNUSED)
case SYSCALL_WRITE: case SYSCALL_WRITE:
syscall_write(f); syscall_write(f);
break; break;
case SYSCALL_OPEN: case SYSCALL_FILESIZE:
syscall_open(f); syscall_filesize(f);
break; break;
default: default:
printf ("WARNING: Invalid Syscall (%d)\n", syscall_number); printf ("WARNING: Invalid Syscall (%d)\n", syscall_number);
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment