support compilation for armv7
Signed-off-by: Akihiro Suda <suda.akihiro@lab.ntt.co.jp>
This commit is contained in:
parent
1005d1dba9
commit
ae42cc4173
5 changed files with 31 additions and 4 deletions
|
@ -159,7 +159,7 @@ func (s *Store) status(ingestPath string) (Status, error) {
|
|||
|
||||
var startedAt time.Time
|
||||
if st, ok := fi.Sys().(*syscall.Stat_t); ok {
|
||||
startedAt = time.Unix(st.Ctim.Sec, st.Ctim.Nsec)
|
||||
startedAt = time.Unix(int64(st.Ctim.Sec), int64(st.Ctim.Nsec))
|
||||
} else {
|
||||
startedAt = fi.ModTime()
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue