summarylogtreecommitdiffstats
path: root/xen-gcc-8-tools-fix-format-truncation-warnings.patch
blob: 8b72643d1467bb63f46bc5171421608215402d93 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
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)