summaryrefslogtreecommitdiffstats
path: root/common/command.c
diff options
context:
space:
mode:
authorAndrey Smirnov <andrew.smirnov@gmail.com>2019-03-06 23:49:21 -0800
committerSascha Hauer <s.hauer@pengutronix.de>2019-03-11 07:55:46 +0100
commit219b954a11e82afbbd7b6ef13d8c5ba94a5b0ff3 (patch)
treebbb2d633b9b16fa3565bb6d6fba2e6076b14d671 /common/command.c
parent7af10336201f9d458a4f7baefec4d0d8a8c60141 (diff)
downloadbarebox-219b954a11e82afbbd7b6ef13d8c5ba94a5b0ff3.tar.gz
barebox-219b954a11e82afbbd7b6ef13d8c5ba94a5b0ff3.tar.xz
state: Fix lseek error check in state_backend_bucket_direct_read()
Don't use 'int' to store lseek()'s return value to avoid problems with large seek offsets. While at it, make sure to populate return error code from 'errno'. Signed-off-by: Andrey Smirnov <andrew.smirnov@gmail.com> Signed-off-by: Sascha Hauer <s.hauer@pengutronix.de>
Diffstat (limited to 'common/command.c')
0 files changed, 0 insertions, 0 deletions