summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorrsc <rsc>2007-08-27 23:53:17 +0000
committerrsc <rsc>2007-08-27 23:53:17 +0000
commit64c47374772c2311bf6d751869eabb95b017c2a7 (patch)
treec49bc92257638a8f75da7214ef416c36c863d41c
parent19b42cc0787da77516c0edadd6f206a09c4d936d (diff)
downloadxv6-labs-64c47374772c2311bf6d751869eabb95b017c2a7.tar.gz
xv6-labs-64c47374772c2311bf6d751869eabb95b017c2a7.tar.bz2
xv6-labs-64c47374772c2311bf6d751869eabb95b017c2a7.zip
make code match comment
-rw-r--r--sysfile.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/sysfile.c b/sysfile.c
index 71b8785..f12b2e1 100644
--- a/sysfile.c
+++ b/sysfile.c
@@ -12,7 +12,7 @@
// Fetch the nth word-sized system call argument as a file descriptor
// and return both the descriptor and the corresponding struct file.
static int
-argfd(int argno, int *pfd, struct file **pf)
+argfd(int n, int *pfd, struct file **pf)
{
int fd;
struct file *f;