Messages in this thread Patch in this message | | | Date | Tue, 23 Mar 1999 16:50:30 -0800 | From | David Miller <> | Subject | Re: Linux-2.2.4.. |
| |
Date: Tue, 23 Mar 1999 19:35:04 -0500 From: Arvind Sankar <arvinds@mit.edu>
acct.c: In function `sys_acct': acct.c:197: too few arguments to function `filp_close' acct.c:203: too few arguments to function `filp_close'
Should the second parameter be NULL? (guessing wildly after looking at binfmt*)
Yes, here is the fix
--- linux/kernel/acct.c.~1~ Tue Mar 23 16:14:01 1999 +++ linux/kernel/acct.c Tue Mar 23 16:34:55 1999 @@ -194,13 +194,13 @@ } if (old_acct) { do_acct_process(0,old_acct); - filp_close(old_acct); + filp_close(old_acct, NULL); } out: unlock_kernel(); return error; out_err: - filp_close(file); + filp_close(file, NULL); goto out; } - To unsubscribe from this list: send the line "unsubscribe linux-kernel" in the body of a message to majordomo@vger.rutgers.edu Please read the FAQ at http://www.tux.org/lkml/
| |