Commit cb3c1bb7 authored by Andrey Vagin's avatar Andrey Vagin Committed by Pavel Emelyanov

proc: show a string in a error message if we can't parse it

Signed-off-by: 's avatarAndrey Vagin <avagin@openvz.org>
Signed-off-by: 's avatarPavel Emelyanov <xemul@parallels.com>
parent 842a1961
......@@ -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;
}
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment