From 2c15ed83257092e1bfb91a5c0300e06cf77e862b Mon Sep 17 00:00:00 2001 From: Sebastien Douheret Date: Fri, 24 Nov 2017 18:18:23 +0100 Subject: Fixed incorrect log syntax. Signed-off-by: Sebastien Douheret --- golib/eows/eows-out.go | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'golib/eows') diff --git a/golib/eows/eows-out.go b/golib/eows/eows-out.go index d624618..3abbdc0 100644 --- a/golib/eows/eows-out.go +++ b/golib/eows/eows-out.go @@ -25,7 +25,7 @@ func (e *ExecOverWS) cmdPumpStdout(r io.Reader, done chan struct{}) { e.OutputCB(e, sc.Text(), "") } if sc.Err() != nil { - e.logError("stdout scan:", sc.Err()) + e.logError("stdout scan: %v", sc.Err()) } close(done) @@ -42,6 +42,6 @@ func (e *ExecOverWS) cmdPumpStderr(r io.Reader) { e.OutputCB(e, "", sc.Text()) } if sc.Err() != nil { - e.logError("stderr scan:", sc.Err()) + e.logError("stderr scan: %v", sc.Err()) } } -- cgit 1.2.3-korg