From 585af568492c633ba0818dffd20d131c78b28d70 Mon Sep 17 00:00:00 2001 From: Aaron Jacobs Date: Mon, 27 Jul 2015 14:28:44 +1000 Subject: [PATCH] Fixed a few more build errors. --- connection.go | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/connection.go b/connection.go index 3a60c70..85fe914 100644 --- a/connection.go +++ b/connection.go @@ -415,11 +415,11 @@ func (c *Connection) ReadOp() (op fuseops.Op, err error) { c.finishOp(m.Header().Opcode, m.Header().Unique) // Debug logging - if c.debugLogger != nil { + if debugLogForOp != nil { if opErr == nil { - op.Logf("-> OK: %s", op.DebugString()) + debugLogForOp(1, "-> OK: %s", op.DebugString()) } else { - op.Logf("-> error: %v", opErr) + debugLogForOp(1, "-> error: %v", opErr) } }