Skip to content

Commit

Permalink
fix: ctim.sec in arm32
Browse files Browse the repository at this point in the history
  • Loading branch information
soulteary committed Jun 14, 2022
1 parent e3959fa commit 29d84cd
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion pkg/provider/fs_linux.go
Original file line number Diff line number Diff line change
Expand Up @@ -13,5 +13,5 @@ func getFileCreateTime(filePath string) (string, error) {
return "", err
}

return time.Unix(st.Ctim.Sec, 0).Format("02/01/2006, 15:04:05"), nil
return time.Unix(int64(st.Ctim.Sec), 0).Format("02/01/2006, 15:04:05"), nil
}

0 comments on commit 29d84cd

Please sign in to comment.