From: rsc Date: Mon, 27 Aug 2007 23:53:17 +0000 (+0000) Subject: make code match comment X-Git-Url: https://git.devinivas.org/?a=commitdiff_plain;h=64c47374772c2311bf6d751869eabb95b017c2a7;p=cs3210-lab0.git make code match comment --- 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;