Commit c232d084 by Daniel Lezcano

fix mount path

parent 525ff3a5
...@@ -979,7 +979,7 @@ static int mount_entry_on_absolute_rootfs(struct mntent *mntent, ...@@ -979,7 +979,7 @@ static int mount_entry_on_absolute_rootfs(struct mntent *mntent,
goto out; goto out;
} }
snprintf(path, MAXPATHLEN, "%s%s", rootfs->mount, snprintf(path, MAXPATHLEN, "%s/%s", rootfs->mount,
aux + strlen(rootfs->path)); aux + strlen(rootfs->path));
ret = mount_entry(mntent->mnt_fsname, path, mntent->mnt_type, ret = mount_entry(mntent->mnt_fsname, path, mntent->mnt_type,
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment