Merge pull request #7831 from shotcollin/master

misc: n/a sealing: Fix grammatical error in a log warning message
This commit is contained in:
Łukasz Magiera 2021-12-20 16:03:58 +01:00 committed by GitHub
commit daa2d89ef5
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -71,7 +71,7 @@ func CreatePartialFile(maxPieceSize abi.PaddedPieceSize, path string) (*PartialF
err := fallocate.Fallocate(f, 0, int64(maxPieceSize))
if errno, ok := err.(syscall.Errno); ok {
if errno == syscall.EOPNOTSUPP || errno == syscall.ENOSYS {
log.Warnf("could not allocated space, ignoring: %v", errno)
log.Warnf("could not allocate space, ignoring: %v", errno)
err = nil // log and ignore
}
}