diff --git a/logging/logfile_bsd.go b/logging/logfile_bsd.go index df599358d0..21e5794245 100644 --- a/logging/logfile_bsd.go +++ b/logging/logfile_bsd.go @@ -14,5 +14,5 @@ import ( func (l *LogFile) createTime(stat os.FileInfo) time.Time { stat_t := stat.Sys().(*syscall.Stat_t) createTime := stat_t.Ctimespec - return time.Unix(int64(createTime.Sec), int64(createTime.Nsec)) + return time.Unix(int64(createTime.Sec), int64(createTime.Nsec)) //nolint:unconvert }