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:39:09 +0000 |
commit | a2e1fd796bcb2da647057d3c147b3c39c2344916 (patch) | |
tree | 714c19c9c629348d7cea107f9c8475c94d4fd646 /meta/recipes-support | |
parent | 1c0473fe4b192fcb6a2d78e9e8772a3a1c7574c7 (diff) | |
download | poky-a2e1fd796bcb2da647057d3c147b3c39c2344916.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]
(From OE-Core rev: cd5013a94609ef2f3e0d621339e22e4137d649d3)
Signed-off-by: Hongxu Jia <hongxu.jia@windriver.com>
Signed-off-by: Ross Burton <ross.burton@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Diffstat (limited to 'meta/recipes-support')
0 files changed, 0 insertions, 0 deletions