Merge pull request #7831 from shotcollin/master
misc: n/a sealing: Fix grammatical error in a log warning message
This commit is contained in:
commit
daa2d89ef5
@ -71,7 +71,7 @@ func CreatePartialFile(maxPieceSize abi.PaddedPieceSize, path string) (*PartialF
|
|||||||
err := fallocate.Fallocate(f, 0, int64(maxPieceSize))
|
err := fallocate.Fallocate(f, 0, int64(maxPieceSize))
|
||||||
if errno, ok := err.(syscall.Errno); ok {
|
if errno, ok := err.(syscall.Errno); ok {
|
||||||
if errno == syscall.EOPNOTSUPP || errno == syscall.ENOSYS {
|
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
|
err = nil // log and ignore
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
Loading…
Reference in New Issue
Block a user