mirror of
https://github.com/checkpoint-restore/criu.git
synced 2026-07-18 00:58:31 +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
1 changed files with 1 additions and 1 deletions
|
|
@ -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;
|
||||
}
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue