ia64/xen-unstable

changeset 6734:41a74438bcba

Fix 'xm info' (sizeof(param) doesn't do that one might hope).

Signed-off-by: Steven Hand <steven@xensource.com>
author shand@ubuntu.eng.hq.xensource.com
date Fri Sep 09 10:36:48 2005 -0800 (2005-09-09)
parents 813c37b68376
children 5c49ed1145cc
files xen/arch/x86/setup.c
line diff
     1.1 --- a/xen/arch/x86/setup.c	Fri Sep 09 17:40:39 2005 +0000
     1.2 +++ b/xen/arch/x86/setup.c	Fri Sep 09 10:36:48 2005 -0800
     1.3 @@ -568,7 +568,7 @@ void arch_get_xen_caps(xen_capabilities_
     1.4      
     1.5      *(p-1) = 0;
     1.6  
     1.7 -    BUG_ON((p - info) > sizeof(info));
     1.8 +    BUG_ON((p - info) > sizeof(xen_capabilities_info_t));
     1.9  }
    1.10  
    1.11  /*