summaryrefslogtreecommitdiffstats
path: root/common
diff options
context:
space:
mode:
authorAndrey Smirnov <andrew.smirnov@gmail.com>2019-03-06 23:49:17 -0800
committerSascha Hauer <s.hauer@pengutronix.de>2019-03-11 07:55:45 +0100
commitcf6e01e07f0eb838c1a08756bd3cc575221d7730 (patch)
tree9cdc22fe853958bc85dfe5026e93b5b7c46f1ecf /common
parent41a5d444411b4f0dd7148b77a9533a5fdb4b5636 (diff)
downloadbarebox-cf6e01e07f0eb838c1a08756bd3cc575221d7730.tar.gz
bpkfs: Fix lseek error check in bpkfs_probe()
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')
0 files changed, 0 insertions, 0 deletions