Said commit "slightly" broke 'ckptinfo -ve', causing it to produce
only "--UNKNOWN--" objects.

Signed-off-by: Oren Laadan <[email protected]>
---
 ckptinfo.py |    2 +-
 1 files changed, 1 insertions(+), 1 deletions(-)

diff --git a/ckptinfo.py b/ckptinfo.py
index add73cb..1c98569 100755
--- a/ckptinfo.py
+++ b/ckptinfo.py
@@ -42,7 +42,7 @@ char *%s_to_str(int type)
        switch (type) {
 """ % type
     for key in list:
-        print "#ifdef CKPT_%s\n\tcase CKPT_%s: return \"%s\";\n#endif" % (key, 
key, key)
+        print "\tcase CKPT_%s: return \"%s\";\n" % (key, key)
 
     print """
        }
-- 
1.6.0.4

_______________________________________________
Containers mailing list
[email protected]
https://lists.linux-foundation.org/mailman/listinfo/containers

_______________________________________________
Devel mailing list
[email protected]
https://openvz.org/mailman/listinfo/devel

Reply via email to