summaryrefslogtreecommitdiff
path: root/lib/diskio/file_blockbuf.go
diff options
context:
space:
mode:
Diffstat (limited to 'lib/diskio/file_blockbuf.go')
-rw-r--r--lib/diskio/file_blockbuf.go2
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/diskio/file_blockbuf.go b/lib/diskio/file_blockbuf.go
index b7db849..0bb3156 100644
--- a/lib/diskio/file_blockbuf.go
+++ b/lib/diskio/file_blockbuf.go
@@ -99,5 +99,5 @@ func (bf *bufferedFile[A]) WriteAt(dat []byte, off A) (n int, err error) {
bf.blockCache.Delete(blockOffset)
}
- return
+ return n, err
}