ACK: [PATCH 2/3] lib: silence gcc 8 complains
ivanhu
ivan.hu at canonical.com
Thu Jul 26 07:43:25 UTC 2018
On 07/25/2018 01:56 PM, Alex Hung wrote:
> This is to fix gcc 8 complains of "directive output may be truncated
> ... [-Werror=format-truncation=]"
>
> Signed-off-by: Alex Hung <alex.hung at canonical.com>
> ---
> src/lib/src/fwts_iasl.c | 2 +-
> 1 file changed, 1 insertion(+), 1 deletion(-)
>
> diff --git a/src/lib/src/fwts_iasl.c b/src/lib/src/fwts_iasl.c
> index be8ccaa..48afd97 100644
> --- a/src/lib/src/fwts_iasl.c
> +++ b/src/lib/src/fwts_iasl.c
> @@ -217,7 +217,7 @@ int fwts_iasl_disassemble_all_to_file(
> const char *path)
> {
> int i, j, ret;
> - char filename[PATH_MAX];
> + char filename[PATH_MAX + 18];
> char pathname[PATH_MAX];
>
> ret = fwts_iasl_init(fw);
Acked-by: Ivan Hu <ivan.hu at canonical.com>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://lists.ubuntu.com/archives/fwts-devel/attachments/20180726/bcc32234/attachment.html>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 473 bytes
Desc: OpenPGP digital signature
URL: <https://lists.ubuntu.com/archives/fwts-devel/attachments/20180726/bcc32234/attachment.sig>
More information about the fwts-devel
mailing list