[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[Xen-devel] [PATCH 2 of 3] libxl: correct indentation of _libxl_types.c



# HG changeset patch
# User Ian Campbell <ian.campbell@xxxxxxxxxx>
# Date 1282922856 -3600
# Node ID 228640a1efbb120939de2718e7a6c997cac2880f
# Parent  75a3469cfac671cbf0271527d245e29b34b0e60f
libxl: correct indentation of _libxl_types.c

Signed-off-by: Ian Campbell <ian.campbell@xxxxxxxxxx>

diff -r 75a3469cfac6 -r 228640a1efbb tools/libxl/gentypes.py
--- a/tools/libxl/gentypes.py   Fri Aug 27 16:27:36 2010 +0100
+++ b/tools/libxl/gentypes.py   Fri Aug 27 16:27:36 2010 +0100
@@ -159,7 +159,7 @@ if __name__ == '__main__':
         f.write("void %s(%s *p)\n" % (ty.destructor_fn, ty.typename))
         f.write("{\n")
         f.write(libxl_C_type_destroy(ty, "p", True))
-        f.write("\tmemset(p, LIBXL_DTOR_POISON, sizeof(*p));\n")
+        f.write("    memset(p, LIBXL_DTOR_POISON, sizeof(*p));\n")
         f.write("}\n")
         f.write("\n")
     f.close()

_______________________________________________
Xen-devel mailing list
Xen-devel@xxxxxxxxxxxxxxxxxxx
http://lists.xensource.com/xen-devel


 


Rackspace

Lists.xenproject.org is hosted with RackSpace, monitoring our
servers 24x7x365 and backed by RackSpace's Fanatical Support®.