From 45eca51d142faaa19692c528bde52fd5ccec4b63 Mon Sep 17 00:00:00 2001 From: a2-stratford <alexander3.stratford@live.uwe.ac.uk> Date: Mon, 2 Dec 2019 13:48:12 +0000 Subject: [PATCH] Apply suggestion to userprog/process.c --- userprog/process.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/userprog/process.c b/userprog/process.c index 69009c2..03cb20c 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; -- GitLab