fix typo in log warning
very minor but this warning comes up a lot so it'd be nicer if it wasn't a grammatical error too
This commit is contained in:
parent
dd20829dbe
commit
d10d0a20b1
@ -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
|
||||
}
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user