]> Devi Nivas Git - cs3210-lab0.git/commitdiff
make code match comment
authorrsc <rsc>
Mon, 27 Aug 2007 23:53:17 +0000 (23:53 +0000)
committerrsc <rsc>
Mon, 27 Aug 2007 23:53:17 +0000 (23:53 +0000)
sysfile.c

index 71b8785a5a5d2290b3361ba96f14f6e991e6052f..f12b2e1e774fdb25d903311e4018783846c75056 100644 (file)
--- 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;