From d10d0a20b1837ce542950dc1718d56968fa4515c Mon Sep 17 00:00:00 2001 From: shotcollin Date: Sun, 19 Dec 2021 17:07:11 -0700 Subject: [PATCH] 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 --- extern/sector-storage/partialfile/partialfile.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/extern/sector-storage/partialfile/partialfile.go b/extern/sector-storage/partialfile/partialfile.go index 529e889ea..ffc3935ac 100644 --- a/extern/sector-storage/partialfile/partialfile.go +++ b/extern/sector-storage/partialfile/partialfile.go @@ -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 } }