diff options
author | Bernhard Walle <bwalle@suse.de> | 2007-10-06 20:41:38 +0200 |
---|---|---|
committer | Simon Horman <horms@verge.net.au> | 2007-10-08 11:05:42 +1000 |
commit | de12fd1c7133edfc4be1d94f63295e30ae1dc526 (patch) | |
tree | cc6b1aa04855a3d92d1d8d5e3c7fcf3ef1e4ae9c /kexec/crashdump-xen.c | |
parent | ddbc4830ad70598070e891e10508ca09567bca60 (diff) |
Use fclose() to close the file pointer
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
Signed-off-by: Bernhard Walle <bwalle@suse.de>
Signed-off-by: Simon Horman <horms@verge.net.au>
Diffstat (limited to 'kexec/crashdump-xen.c')
0 files changed, 0 insertions, 0 deletions