From 58e677d11290b6600ebaa3542cbf278721bce89e Mon Sep 17 00:00:00 2001 From: Mitchell Hashimoto Date: Sun, 23 Jun 2013 23:06:59 -0700 Subject: [PATCH] packer: Ui.Message should Fprint, not Fprintf --- packer/ui.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/packer/ui.go b/packer/ui.go index 4684f0575..b31f051a1 100644 --- a/packer/ui.go +++ b/packer/ui.go @@ -161,7 +161,7 @@ func (rw *ReaderWriterUi) Message(message string) { defer rw.l.Unlock() log.Printf("ui: %s", message) - _, err := fmt.Fprintf(rw.Writer, message+"\n") + _, err := fmt.Fprint(rw.Writer, message+"\n") if err != nil { panic(err) }