diff options
Diffstat (limited to 'xen-gcc-8-tools-fix-format-truncation-warnings.patch')
-rw-r--r-- | xen-gcc-8-tools-fix-format-truncation-warnings.patch | 13 |
1 files changed, 13 insertions, 0 deletions
diff --git a/xen-gcc-8-tools-fix-format-truncation-warnings.patch b/xen-gcc-8-tools-fix-format-truncation-warnings.patch new file mode 100644 index 000000000000..8b72643d1467 --- /dev/null +++ b/xen-gcc-8-tools-fix-format-truncation-warnings.patch @@ -0,0 +1,13 @@ +diff --git a/tools/ocaml/libs/xc/xenctrl_stubs.c b/tools/ocaml/libs/xc/xenctrl_stubs.c +index f97070c8b0..eacb45d8f6 100644 +--- a/tools/ocaml/libs/xc/xenctrl_stubs.c ++++ b/tools/ocaml/libs/xc/xenctrl_stubs.c +@@ -54,7 +54,7 @@ + + static void Noreturn failwith_xc(xc_interface *xch) + { +- char error_str[1028]; ++ char error_str[1029]; + if (xch) { + const xc_error *error = xc_get_last_error(xch); + if (error->code == XC_ERROR_NONE) |