2
0
mirror of https://github.com/checkpoint-restore/criu synced 2025-08-29 13:28:27 +00:00

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

Signed-off-by: Andrey Vagin <avagin@openvz.org>
Signed-off-by: Pavel Emelyanov <xemul@parallels.com>
This commit is contained in:
Andrey Vagin 2015-07-15 17:50:00 +03:00 committed by Pavel Emelyanov
parent 842a196159
commit cb3c1bb7fe

View File

@ -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;
}