From 3a2310f7465ed92db7ce9ecfd619e8ac2011a789 Mon Sep 17 00:00:00 2001 From: rsc Date: Mon, 27 Aug 2007 23:53:17 +0000 Subject: make code match comment --- sysfile.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'sysfile.c') diff --git a/sysfile.c b/sysfile.c index f12b2e1..d18aa1b 100644 --- a/sysfile.c +++ b/sysfile.c @@ -17,7 +17,7 @@ argfd(int n, int *pfd, struct file **pf) int fd; struct file *f; - if(argint(argno, &fd) < 0) + if(argint(n, &fd) < 0) return -1; if(fd < 0 || fd >= NOFILE || (f=cp->ofile[fd]) == 0) return -1; -- cgit v1.2.3