diff options
author | Mole Shang <[email protected]> | 2024-02-19 21:51:26 +0800 |
---|---|---|
committer | Mole Shang <[email protected]> | 2024-02-19 22:13:01 +0800 |
commit | 09ba9112386d5d59d7f2a31c469768c582acb939 (patch) | |
tree | b1dce737cdd94164e8d7f3f651ea7a86a22a42f3 /kernel/sysfile.c | |
parent | d86118fc80267649b4791c8c0c72ebd60edf1ef2 (diff) | |
download | xv6-labs-09ba9112386d5d59d7f2a31c469768c582acb939.tar.gz xv6-labs-09ba9112386d5d59d7f2a31c469768c582acb939.tar.bz2 xv6-labs-09ba9112386d5d59d7f2a31c469768c582acb939.zip |
lab mmap: finish
Diffstat (limited to 'kernel/sysfile.c')
-rw-r--r-- | kernel/sysfile.c | 2 |
1 files changed, 1 insertions, 1 deletions
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; |