support compilation for armv7
Signed-off-by: Akihiro Suda <suda.akihiro@lab.ntt.co.jp>
This commit is contained in:
@@ -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()
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user