xv6

Unnamed repository; edit this file 'description' to name the repository.
Log | Files | Refs | README | LICENSE

commit 64c47374772c2311bf6d751869eabb95b017c2a7
parent 19b42cc0787da77516c0edadd6f206a09c4d936d
Author: rsc <rsc>
Date:   Mon, 27 Aug 2007 23:53:17 +0000

make code match comment

Diffstat:
Msysfile.c | 2+-
1 file changed, 1 insertion(+), 1 deletion(-)

diff --git 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;