[Devel] Re: [PATCH] ckptinfo.py: revert commit 8f99ace6513f958d572ef690d7af111991124f5c

Matt Helsley matthltc at us.ibm.com
Wed Sep 23 14:53:43 PDT 2009


On Tue, Sep 22, 2009 at 08:16:50PM -0400, Oren Laadan wrote:
> Said commit "slightly" broke 'ckptinfo -ve', causing it to produce
> only "--UNKNOWN--" objects.
> 
> Signed-off-by: Oren Laadan <orenl at cs.columbia.edu>

This one's my fault. In case you haven't already applied the reverted patch...
I've got an alternate solution rolled in with my "extract kernel
headers" branch which I should be able to post after I get the epoll
patches posted.

Acked-by: Matt Helsley <matthltc at us.ibm.com>

> ---
>  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
> Containers at lists.linux-foundation.org
> https://lists.linux-foundation.org/mailman/listinfo/containers
_______________________________________________
Containers mailing list
Containers at lists.linux-foundation.org
https://lists.linux-foundation.org/mailman/listinfo/containers




More information about the Devel mailing list