mirror of
https://github.com/checkpoint-restore/criu.git
synced 2026-07-18 00:58:31 +00:00
util: print warning if a image file is absent
It may be legal. E.g. for zombie Signed-off-by: Andrey Vagin <avagin@openvz.org> Acked-by: Pavel Emelyanov <xemul@parallels.com> Signed-off-by: Cyrill Gorcunov <gorcunov@openvz.org>
This commit is contained in:
parent
d4cfba8947
commit
255cd497bd
1 changed files with 1 additions and 1 deletions
2
util.c
2
util.c
|
|
@ -181,7 +181,7 @@ int open_image_ro_nocheck(const char *fmt, int pid)
|
|||
if (tmp == 0)
|
||||
tmp = open(path, O_RDONLY);
|
||||
if (tmp < 0)
|
||||
pr_perror("Can't open image %s for %d\n", fmt, pid);
|
||||
pr_warning("Can't open image %s for %d: %m\n", fmt, pid);
|
||||
|
||||
return tmp;
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue