diff options
author | Andrey Smirnov <andrew.smirnov@gmail.com> | 2019-03-06 23:49:25 -0800 |
---|---|---|
committer | Sascha Hauer <s.hauer@pengutronix.de> | 2019-03-11 07:55:46 +0100 |
commit | 64ecfeb65e49bddf5605328bc9da3980137acf23 (patch) | |
tree | df91c99fce0bc2f9d7fe0ef7aec961477c30ab36 /commands/cp.c | |
parent | 5eadd11d4795afb6b521b5c3249c6341c0be7117 (diff) | |
download | barebox-64ecfeb65e49bddf5605328bc9da3980137acf23.tar.gz barebox-64ecfeb65e49bddf5605328bc9da3980137acf23.tar.xz |
commands: loadxy: Make use of open_and_lseek()
Save a bit of extra code by replacing explict calls to open() and
lseek() with a single call to open_and_lseek().
Signed-off-by: Andrey Smirnov <andrew.smirnov@gmail.com>
Signed-off-by: Sascha Hauer <s.hauer@pengutronix.de>
Diffstat (limited to 'commands/cp.c')
0 files changed, 0 insertions, 0 deletions