On Sat, Oct 06, 2007 at 08:41:38PM +0200, Bernhard Walle wrote: > Just use fclose() instead of close() to close a pointer of type FILE *. > That fixes the compile warning > > kexec/kexec.c: In function 'check_reuse_initrd': > kexec/kexec.c:793: warning: passing argument 1 of 'close' makes integer from pointer without a cast Thanks Bernhard, I have applied this change. -- Horms H: http://www.vergenet.net/~horms/ W: http://www.valinux.co.jp/en/