mirror of
https://github.com/checkpoint-restore/criu
synced 2025-08-31 06:15:24 +00:00
mount: fix error print in case of failed bind-mount
This is minor issue, but would be nice to have print in sync with actual action. travis-ci: success for mount: fix error print in case of failed bind-mount Signed-off-by: Stanislav Kinsburskiy <skinsbursky@virtuozzo.com> Signed-off-by: Pavel Emelyanov <xemul@virtuozzo.com>
This commit is contained in:
committed by
Pavel Emelyanov
parent
c42f6ce2e6
commit
4e3d0f7d68
@@ -1902,7 +1902,7 @@ static int do_bind_mount(struct mount_info *mi)
|
||||
/* Get a copy of mi->bind without child mounts */
|
||||
if (mount(mnt_path, mnt_clean_path, NULL, MS_BIND, NULL)) {
|
||||
pr_perror("Unable to bind-mount %s to %s",
|
||||
mi->bind->mountpoint, mnt_clean_path);
|
||||
mnt_path, mnt_clean_path);
|
||||
return -1;
|
||||
}
|
||||
mnt_path = mnt_clean_path;
|
||||
|
Reference in New Issue
Block a user