2.2.4: kernel/acct.c is broken

Stanislav Brabec (utx@k332.feld.cvut.cz)
Fri, 26 Mar 1999 16:49:27 +0100


Hallo kernel developers,

I have found acct.c broken in Linux 2.2.4:

make[2]: Entering directory `/usr/src/linux/kernel'
gcc -D__KERNEL__ -I/usr/src/linux/include -Wall -Wstrict-prototypes -O2 -fomit-frame-pointer -pipe -fno-strength-reduce -m486 -malign-loops=2 -malign-jumps=2 -malign-functions=2 -DCPU=686 -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

filp_close requires two arguments:
/*
* "id" is the POSIX thread ID. We use the
* files pointer for this..
*/
int filp_close(struct file *filp, fl_owner_t id)

-- Stanislav Brabec

-
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/