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

Fixing incorrect return type

parent db910489
Branches
No related tags found
2 merge requests!22Merge Feature/system calls,!6Implemented filesize system call
......@@ -7,7 +7,7 @@
#include "system_calls.h"
#include "filesys/file.h"
int syscall_filesize(struct intr_frame *f) {
void syscall_filesize(struct intr_frame *f) {
// pop off first int argument from interrupt frame
int file_descriptor = *((int*)f->esp + 1);
struct file *file = get_associated_file_pointer(file_descriptor);
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment