From 09ba9112386d5d59d7f2a31c469768c582acb939 Mon Sep 17 00:00:00 2001 From: Mole Shang <135e2@135e2.dev> Date: Mon, 19 Feb 2024 21:51:26 +0800 Subject: lab mmap: finish --- kernel/sysfile.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'kernel/sysfile.c') diff --git a/kernel/sysfile.c b/kernel/sysfile.c index 9c12d44..639c02b 100644 --- a/kernel/sysfile.c +++ b/kernel/sysfile.c @@ -27,7 +27,7 @@ struct symlink { // Fetch the nth word-sized system call argument as a file descriptor // and return both the descriptor and the corresponding struct file. -static int +int argfd(int n, int *pfd, struct file **pf) { int fd; -- cgit v1.2.3