summaryrefslogtreecommitdiffstats
path: root/drivers/bus
diff options
context:
space:
mode:
authorRenaud Barbier <renaud.barbier@ge.com>2016-04-08 10:16:10 +0100
committerSascha Hauer <s.hauer@pengutronix.de>2016-04-12 08:05:35 +0200
commit97e553bc657efcb99b6a99fe93fd3b06d7f0f82a (patch)
treeba9e398b1ac8a86bbb0527e4a0c5fd9632e72788 /drivers/bus
parent45ad47a30190fdeb6602835f71dd5bb076695315 (diff)
downloadbarebox-97e553bc657efcb99b6a99fe93fd3b06d7f0f82a.tar.gz
barebox-97e553bc657efcb99b6a99fe93fd3b06d7f0f82a.tar.xz
lib: declared buffer is too small to hold string
Displaying an unsigned 64-bit integer can be represented by up to 20 characters. The 20 bytes buffer reserved to store the formatted string "%llu Bytes" is to small: (20 + 6) = 26. Hence, a bigger buffer is reserved to hold this string. Signed-off-by: Renaud Barbier <renaud.barbier@ge.com> Signed-off-by: Sascha Hauer <s.hauer@pengutronix.de>
Diffstat (limited to 'drivers/bus')
0 files changed, 0 insertions, 0 deletions