eelco of viola wrote:
> gcc -D_KERNEL_ -I/usr/src/linux/include <snip> 0DCPU=586 -c -o acct.o
> acct.c
> 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`
> make[2] ***[acct.o] error 1
> make[2] : Leaving directory `/usr/src/linux/kernel`
> make[1] *** [first_rule] error 2
> make[1] : Leaving directory`/usr/src/linux.kernel`
> make : ***[_dir_kernel] error 2
Apply the attached patch or get the 2.2.5-patch, which fixes this too.
If you apply the attached patch, you must revert it if you later want
to apply 2.2.5-patch.
Henning
--
H. Henning Vossieck - [EMAIL PROTECTED] - http://www.hhv.de
>From - Wed Mar 24 02:08:50 1999
From: David Miller <[EMAIL PROTECTED]>
To: Multiple recipients of list <[EMAIL PROTECTED]>
Subject: [PATCH] acct fix (was Re: 2.2.4 compile failure)
Date: Wed, 24 Mar 1999 01:09:44 +0100
From: [EMAIL PROTECTED]
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'
Please try this patch:
--- 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 [EMAIL PROTECTED]
Please read the FAQ at http://www.tux.org/lkml/