From cb3c1bb7fe1e1e34b13c8aceece5c5499ccfea1b Mon Sep 17 00:00:00 2001 From: Andrey Vagin Date: Wed, 15 Jul 2015 17:50:00 +0300 Subject: [PATCH] proc: show a string in a error message if we can't parse it Signed-off-by: Andrey Vagin Signed-off-by: Pavel Emelyanov --- proc_parse.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/proc_parse.c b/proc_parse.c index 6233769c5..8a03fea40 100644 --- a/proc_parse.c +++ b/proc_parse.c @@ -1152,7 +1152,7 @@ struct mount_info *parse_mountinfo(pid_t pid, struct ns_id *nsid, bool for_dump) ret = parse_mountinfo_ent(str, new, &fsname); if (ret < 0) { - pr_err("Bad format in %d mountinfo\n", pid); + pr_err("Bad format in %d mountinfo: '%s'\n", pid, str); goto end; }