mirror of
https://github.com/checkpoint-restore/criu
synced 2025-08-30 13:58:34 +00:00
page-xfer: make err-message reflect what realy happen
Signed-off-by: Tikhomirov Pavel <snorcht@gmail.com> Signed-off-by: Pavel Emelyanov <xemul@parallels.com>
This commit is contained in:
committed by
Pavel Emelyanov
parent
70d9780ddd
commit
b6c7f51c13
@@ -658,7 +658,7 @@ static int open_page_local_xfer(struct page_xfer *xfer, int fd_type, long id)
|
||||
|
||||
ret = open_page_read_at(pfd, id, xfer->parent, O_RDWR, false);
|
||||
if (ret) {
|
||||
pr_perror("Can't dedup old image format");
|
||||
pr_perror("No parent image found, though parent directory is set");
|
||||
xfree(xfer->parent);
|
||||
xfer->parent = NULL;
|
||||
close(pfd);
|
||||
|
Reference in New Issue
Block a user