summaryrefslogtreecommitdiffstats
path: root/arch
diff options
context:
space:
mode:
authorAhmad Fatoum <a.fatoum@pengutronix.de>2020-10-01 09:43:34 +0200
committerSascha Hauer <s.hauer@pengutronix.de>2020-10-02 06:30:59 +0200
commitd2cd3238c21c54afbb1b3b79b7061458649dbd17 (patch)
tree4c69ad0f8b1f99ed751cb90a00da4fe49034d784 /arch
parentcac4e34f2da46798d77907ebcd4c11c770ed0f13 (diff)
downloadbarebox-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