diff --git a/criu/files-reg.c b/criu/files-reg.c index 13719990a..9c83f2ce4 100644 --- a/criu/files-reg.c +++ b/criu/files-reg.c @@ -1383,7 +1383,7 @@ static void convert_path_from_another_mp(char *src, char *dst, int dlen, * Absolute path to the mount point + difference between source * and destination roots + path relative to the mountpoint. */ - snprintf(dst, dlen, "%s/%s/%s", + snprintf(dst, dlen, "./%s/%s/%s", dmi->ns_mountpoint + 1, smi->root + strlen(dmi->root), src + off);