From 5713154468e141406581a330ff7dd1fcd392da82 Mon Sep 17 00:00:00 2001 From: Sebastian Lackner Date: Mon, 31 Dec 2018 18:14:14 +0100 Subject: fusefrontend: Fix debug message in doWrite() method. --- internal/fusefrontend/file.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'internal/fusefrontend') diff --git a/internal/fusefrontend/file.go b/internal/fusefrontend/file.go index fc8c678..a0b82ba 100644 --- a/internal/fusefrontend/file.go +++ b/internal/fusefrontend/file.go @@ -308,7 +308,7 @@ func (f *File) doWrite(data []byte, off int64) (uint32, fuse.Status) { tlog.Debug.Printf("len(oldData)=%d len(blockData)=%d", len(oldData), len(blockData)) } tlog.Debug.Printf("ino%d: Writing %d bytes to block #%d", - f.qIno.Ino, uint64(len(blockData))-f.contentEnc.BlockOverhead(), b.BlockNo) + f.qIno.Ino, len(blockData), b.BlockNo) // Write into the to-encrypt list toEncrypt[i] = blockData } -- cgit v1.2.3