[PATCH] Use fclose() to close the file pointer

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



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/




[Index of Archives]     [LM Sensors]     [Linux Sound]     [ALSA Users]     [ALSA Devel]     [Linux Audio Users]     [Linux Media]     [Kernel]     [Gimp]     [Yosemite News]     [Linux Media]

  Powered by Linux