mirror of
https://github.com/rclone/rclone
synced 2024-11-29 07:55:12 +01:00
Fix after go vet
This commit is contained in:
parent
3bf6348f57
commit
555e545b46
@ -72,7 +72,7 @@ func Chtimes(name string, atime time.Time, mtime time.Time) error {
|
|||||||
utimes[0] = syscall.NsecToTimespec(atime.UnixNano())
|
utimes[0] = syscall.NsecToTimespec(atime.UnixNano())
|
||||||
utimes[1] = syscall.NsecToTimespec(mtime.UnixNano())
|
utimes[1] = syscall.NsecToTimespec(mtime.UnixNano())
|
||||||
if e := Utimensat(AT_FDCWD, name, utimes[0:]); e != nil {
|
if e := Utimensat(AT_FDCWD, name, utimes[0:]); e != nil {
|
||||||
return &os.PathError{"chtimes", name, e}
|
return &os.PathError{Op: "chtimes", Path: name, Err: e}
|
||||||
}
|
}
|
||||||
return nil
|
return nil
|
||||||
}
|
}
|
||||||
|
Loading…
Reference in New Issue
Block a user