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:
parent
842a196159
commit
cb3c1bb7fe
@ -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);
|
ret = parse_mountinfo_ent(str, new, &fsname);
|
||||||
if (ret < 0) {
|
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;
|
goto end;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
Loading…
x
Reference in New Issue
Block a user