Fix type: TimeSpec -> Timespec.

This commit is contained in:
Kyle 2016-01-18 23:20:33 -08:00
parent c4cd5442e4
commit fdc1b0261b
1 changed files with 1 additions and 1 deletions

View File

@ -122,7 +122,7 @@ type FileTime struct {
Accessed time.Time
}
func timeSpecToTime(ts unix.TimeSpec) time.Time {
func timeSpecToTime(ts unix.Timespec) time.Time {
return time.Unix(ts.Sec, ts.Nsec)
}