diff options
author | Renaud Barbier <renaud.barbier@ge.com> | 2016-04-08 10:16:10 +0100 |
---|---|---|
committer | Sascha Hauer <s.hauer@pengutronix.de> | 2016-04-12 08:05:35 +0200 |
commit | 97e553bc657efcb99b6a99fe93fd3b06d7f0f82a (patch) | |
tree | ba9e398b1ac8a86bbb0527e4a0c5fd9632e72788 /drivers/bus | |
parent | 45ad47a30190fdeb6602835f71dd5bb076695315 (diff) | |
download | barebox-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