[Crash-utility] [PATCH 1/2] memory.c: fix missing printf flags in INFO message in page_flags_init_from_pageflag_names()

Dave Anderson anderson at redhat.com
Thu May 19 16:18:19 UTC 2016


Hi Andrey,

Thanks for this patch.  Can you tell me what "kmem -g" shows?

Dave


----- Original Message -----
> Signed-off-by: Andrey Skvortsov <andrej.skvortzov at gmail.com>
> ---
>  memory.c | 2 +-
>  1 file changed, 1 insertion(+), 1 deletion(-)
> 
> diff --git a/memory.c b/memory.c
> index 275fc34..d6271bc 100644
> --- a/memory.c
> +++ b/memory.c
> @@ -6353,7 +6353,7 @@ page_flags_init_from_pageflag_names(void)
>  		}
>  
>  		if (!read_string((ulong)name, namebuf, BUFSIZE-1)) {
> -			error(INFO, "failed to read pageflag_names entry\n",
> +			error(INFO, "failed to read pageflag_names entry (i: %d, name: \"%s\",
> mask:%d)\n",
>  				i, name, mask);
>  			goto pageflags_fail;
>  		}
> --
> 2.8.1
> 
> 




More information about the Crash-utility mailing list