mirror of
https://github.com/checkpoint-restore/criu.git
synced 2026-01-24 02:35:41 +00:00
util: mkdirp -- Print exactly what is failed
Signed-off-by: Cyrill Gorcunov <gorcunov@openvz.org> Acked-by: Tycho Andersen <tycho.andersen@canonical.com> Signed-off-by: Pavel Emelyanov <xemul@parallels.com>
This commit is contained in:
parent
232cb4b34b
commit
19018622cd
1 changed files with 1 additions and 1 deletions
2
util.c
2
util.c
|
|
@ -678,7 +678,7 @@ int mkdirp(const char *path)
|
|||
if (pos)
|
||||
*pos = '\0';
|
||||
if (mkdir(made_path, 0755) < 0 && errno != EEXIST) {
|
||||
pr_perror("couldn't mkdirpat directory");
|
||||
pr_perror("couldn't mkdirpat directory %s", made_path);
|
||||
return -1;
|
||||
}
|
||||
if (pos) {
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue