summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorSebastian Lackner2018-12-31 17:48:34 +0100
committerrfjakob2019-01-01 16:12:05 +0100
commit9ed60678e54c82e2522b719920f7c7a490bab3e5 (patch)
tree01d2ca1cdbb85e0349485d4b1cc532c6c6bf6453
parent87ced5f95d151c51eecbf17c63114a85af1b5773 (diff)
fusefrontend: Fix order of arguments in debug message for Read() FUSE call.
-rw-r--r--internal/fusefrontend/file.go2
1 files changed, 1 insertions, 1 deletions
diff --git a/internal/fusefrontend/file.go b/internal/fusefrontend/file.go
index 04ae526..fc8c678 100644
--- a/internal/fusefrontend/file.go
+++ b/internal/fusefrontend/file.go
@@ -243,7 +243,7 @@ func (f *File) Read(buf []byte, off int64) (resultData fuse.ReadResult, code fus
f.fileTableEntry.ContentLock.RLock()
defer f.fileTableEntry.ContentLock.RUnlock()
- tlog.Debug.Printf("ino%d: FUSE Read: offset=%d length=%d", f.qIno.Ino, len(buf), off)
+ tlog.Debug.Printf("ino%d: FUSE Read: offset=%d length=%d", f.qIno.Ino, off, len(buf))
if f.fs.args.SerializeReads {
serialize_reads.Wait(off, len(buf))
}