fix
This commit is contained in:
@ -510,7 +510,7 @@ api_error remote_fuse_drive::statfs_x_impl(std::string api_path,
|
|||||||
stbuf->f_files = r.f_files;
|
stbuf->f_files = r.f_files;
|
||||||
stbuf->f_owner = getuid();
|
stbuf->f_owner = getuid();
|
||||||
strncpy(&stbuf->f_mntonname[0U], get_mount_location().c_str(), MNAMELEN);
|
strncpy(&stbuf->f_mntonname[0U], get_mount_location().c_str(), MNAMELEN);
|
||||||
strncpy(stbuf->f_mntfromname.data(), &r.f_mntonname[0U], MNAMELEN);
|
strncpy(&stbuf->f_mntfromname[0U], &r.f_mntfromname[0U], MNAMELEN);
|
||||||
}
|
}
|
||||||
} else {
|
} else {
|
||||||
res = -errno;
|
res = -errno;
|
||||||
|
Reference in New Issue
Block a user