diff options
author | Teresa Gámez <t.gamez@phytec.de> | 2014-09-24 08:49:51 +0200 |
---|---|---|
committer | Sascha Hauer <s.hauer@pengutronix.de> | 2014-09-25 07:44:12 +0200 |
commit | 9d50b3484548459f795e342c8c67e8584a071449 (patch) | |
tree | f482eb1825a4c451555307820ad9ebd9993302c1 /common/clock.c | |
parent | ea569b0a7a9de2cf9110928dfe97e63240f461b5 (diff) | |
download | barebox-9d50b3484548459f795e342c8c67e8584a071449.tar.gz barebox-9d50b3484548459f795e342c8c67e8584a071449.tar.xz |
read_file_2: Fix return value
Set return value correct in error case.
This prevents barebox from crashing in some conditions.
Signed-off-by: Teresa Gámez <t.gamez@phytec.de>
Signed-off-by: Sascha Hauer <s.hauer@pengutronix.de>
Diffstat (limited to 'common/clock.c')
0 files changed, 0 insertions, 0 deletions