diff --git a/userprog/process.c b/userprog/process.c index 69009c2575899f90d46979f433b6a18bae9322d7..03cb20cd64ecdb529bebc37f1b850e4c61f621e6 100644 --- a/userprog/process.c +++ b/userprog/process.c @@ -227,7 +227,7 @@ load (const char *file_name, void (**eip) (void), void **initial_stack_pointer) { struct thread *t = thread_current (); struct Elf32_Ehdr ehdr; - struct file * = NULL; + struct file *file = NULL; off_t file_ofs; bool success = false; int i;