summaryrefslogtreecommitdiff
path: root/kexec/kexec.c
diff options
context:
space:
mode:
authorHorms <horms@verge.net.au>2006-12-11 14:25:56 +0900
committerSimon Horman <horms@verge.net.au>2006-12-12 17:55:49 +0900
commit6a33ef415ec36725eb307adc3666852155a0d7bf (patch)
treea5ca68979ee7460dc1baa5c54c4ac6802f4e6e84 /kexec/kexec.c
parent1fd7cb01165e301789566e6a19344972e0595457 (diff)
kexec-tools: ppc64: Check lseek return for errors
Check the call to lseek in kexec/arch/ppc64/fs2dt.c:add_usable_mem_property-lseek() for errors. Appart from being a good idea, this is a preparatory patch to remove the farily bogus scemantic of checking and setting errno some time later in functions in kexec/arch/ppc64/fs2dt.c to see if an error occured somewhere. Signed-off-by: Simon Horman <horms@verge.net.au> Tested and working fine. Ack. Acked-by: Sachin P. Sant <sachinp@in.ibm.com>
Diffstat (limited to 'kexec/kexec.c')
0 files changed, 0 insertions, 0 deletions