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

Update syscall.c

parent 397eccb9
No related branches found
No related tags found
No related merge requests found
...@@ -69,7 +69,7 @@ syscall_handler (struct intr_frame *f UNUSED) ...@@ -69,7 +69,7 @@ syscall_handler (struct intr_frame *f UNUSED)
break; break;
default: default:
printf ("WARNING: Invalid Syscall (%d)\n", syscall_number); printf ("WARNING: Invalid Syscall (%d)\n", syscall_number);
thread_exit ();
} }
// TODO: remove this call to exit as we don't want all syscalls to make the thread exit // TODO: remove this call to exit as we don't want all syscalls to make the thread exit
thread_exit ();
} }
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment