From ff051c2fbcb8dad706cbfa177dcaa960a71fc845 Mon Sep 17 00:00:00 2001 From: Alex Williamson Date: Mon, 1 Oct 2007 09:59:24 -0600 Subject: [IA64] xenitp: correctly size vcpu_ctx array vcpu_ctx[] array size should be MAX_VIRT_CPUS instead of 1. Signed-off-by: Isaku Yamahata --- tools/debugger/xenitp/xenitp.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'tools/debugger') diff --git a/tools/debugger/xenitp/xenitp.c b/tools/debugger/xenitp/xenitp.c index a203da8c0d..bd7b250258 100644 --- a/tools/debugger/xenitp/xenitp.c +++ b/tools/debugger/xenitp/xenitp.c @@ -931,7 +931,7 @@ unsigned char *parse_arg (unsigned char **buf) return res; } -vcpu_guest_context_t vcpu_ctx[1]; +vcpu_guest_context_t vcpu_ctx[MAX_VIRT_CPUS]; int vcpu_setcontext (int vcpu) { -- cgit v1.2.3