diff options
author | Hongxu Jia <hongxu.jia@windriver.com> | 2018-12-14 15:29:56 +0800 |
---|---|---|
committer | Richard Purdie <richard.purdie@linuxfoundation.org> | 2019-01-11 10:38:21 +0000 |
commit | cd5013a94609ef2f3e0d621339e22e4137d649d3 (patch) | |
tree | 3eae8466c929ab73b9cedb9a41d655e16ec62f26 /meta/recipes-support/atk | |
parent | 04656f5df326a72747fc5878ce201b636a2a419c (diff) | |
download | openembedded-core-cd5013a94609ef2f3e0d621339e22e4137d649d3.tar.gz |
mdadm: fix gcc-8 format-truncation warning
While compiling with `-Werror=format-truncation=', it failed
[snip]
|super0.c:236:32: error: 'snprintf' output may be truncated
before the last format character [-Werror=format-truncation=]
| snprintf(nb, sizeof(nb), "%4d", d);
| ^
|super0.c:236:3: note: 'snprintf' output between 5 and 12 bytes
into a destination of size 11
| snprintf(nb, sizeof(nb), "%4d", d);
[snip]
Signed-off-by: Hongxu Jia <hongxu.jia@windriver.com>
Signed-off-by: Ross Burton <ross.burton@intel.com>
Diffstat (limited to 'meta/recipes-support/atk')
0 files changed, 0 insertions, 0 deletions