ia64/xen-unstable

changeset 5090:eb32745a29e8

bitkeeper revision 1.1512 (4291e819kp5stS-T-KsgGXWV2Tvfow)

XendDomain.py:
Get sizeof right.
Signed-off-by: Christian Limpach <Christian.Limpach@cl.cam.ac.uk>
author cl349@firebug.cl.cam.ac.uk
date Mon May 23 14:26:33 2005 +0000 (2005-05-23)
parents b04f8c2a95d6
children 2d1acc84d984
files tools/python/xen/xend/XendDomain.py
line diff
     1.1 --- a/tools/python/xen/xend/XendDomain.py	Mon May 23 10:24:56 2005 +0000
     1.2 +++ b/tools/python/xen/xend/XendDomain.py	Mon May 23 14:26:33 2005 +0000
     1.3 @@ -322,8 +322,8 @@ class XendDomain:
     1.4          """
     1.5  
     1.6          SIGNATURE = "LinuxGuestRecord"
     1.7 -        sizeof_int = calcsize("L")
     1.8 -        sizeof_unsigned_long = calcsize("i")
     1.9 +        sizeof_int = calcsize("i")
    1.10 +        sizeof_unsigned_long = calcsize("L")
    1.11          PAGE_SIZE = 4096
    1.12  
    1.13          class XendFile(file):