Cleanup
This commit is contained in:
committed by
Jakub Konka
parent
b09f7e860f
commit
3fd0cdcc12
@@ -442,8 +442,7 @@ pub(crate) fn path_filestat_set_times(
|
||||
};
|
||||
|
||||
let fd = resolved.dirfd().as_raw_fd().into();
|
||||
utimensat(fd, resolved.path(), &atim, &mtim, atflags)
|
||||
.map_err(|e| host_impl::errno_from_nix(e.as_errno().unwrap()))
|
||||
utimensat(fd, resolved.path(), &atim, &mtim, atflags).map_err(Into::into)
|
||||
}
|
||||
|
||||
pub(crate) fn path_symlink(old_path: &str, resolved: PathGet) -> Result<()> {
|
||||
|
||||
Reference in New Issue
Block a user