diff --git a/userprog/syscall.c b/userprog/syscall.c
index a494704341d8785dfd0ec0c772c4d9e3dbb38167..24427b28da633af9c2ccc0d118c21e2b04ad4acb 100644
--- a/userprog/syscall.c
+++ b/userprog/syscall.c
@@ -58,6 +58,9 @@ syscall_handler (struct intr_frame *f UNUSED)
   case SYSCALL_HALT:
     syscall_halt(f);
     break;
+  case SYSCALL_EXIT:
+	  syscall_exit(f);
+	  break;
   case SYSCALL_EXEC:
     syscall_exec(f);
     break;