diff options
author | Ahmad Fatoum <a.fatoum@pengutronix.de> | 2020-10-01 09:43:34 +0200 |
---|---|---|
committer | Sascha Hauer <s.hauer@pengutronix.de> | 2020-10-02 06:30:59 +0200 |
commit | d2cd3238c21c54afbb1b3b79b7061458649dbd17 (patch) | |
tree | 4c69ad0f8b1f99ed751cb90a00da4fe49034d784 /arch | |
parent | cac4e34f2da46798d77907ebcd4c11c770ed0f13 (diff) | |
download | barebox-d2cd3238c21c54afbb1b3b79b7061458649dbd17.tar.gz barebox-d2cd3238c21c54afbb1b3b79b7061458649dbd17.tar.xz |
scripts: kwboot: allow piping full buffer size at once
While buf == _buf, their type and sizeof differ. The read syscall should
have the buffer size as argument, but instead got the pointer's size.
This likely doesn't change high-level behavior, because read was called
in a loop, so fix this.
Signed-off-by: Ahmad Fatoum <a.fatoum@pengutronix.de>
Signed-off-by: Sascha Hauer <s.hauer@pengutronix.de>
Diffstat (limited to 'arch')
0 files changed, 0 insertions, 0 deletions