diff options
author | Sebastian Lackner | 2018-12-31 18:14:14 +0100 |
---|---|---|
committer | rfjakob | 2019-01-01 16:12:42 +0100 |
commit | 5713154468e141406581a330ff7dd1fcd392da82 (patch) | |
tree | c1f7b2d774285f23bbc9283883a8c0ee2fcb0ecb /internal | |
parent | 9ed60678e54c82e2522b719920f7c7a490bab3e5 (diff) |
fusefrontend: Fix debug message in doWrite() method.
Diffstat (limited to 'internal')
-rw-r--r-- | internal/fusefrontend/file.go | 2 |
1 files changed, 1 insertions, 1 deletions
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 } |