From: Matthew Dempsky Date: Thu, 12 Nov 2015 04:49:37 +0000 (-0800) Subject: runtime: fix vet warning about println X-Git-Tag: go1.6beta1~513 X-Git-Url: http://www.git.cypherpunks.su/?a=commitdiff_plain;h=3073797c37e168f3671880c683a228f9f8f942e3;p=gostls13.git runtime: fix vet warning about println lfstack.go:19: println call ends with newline Change-Id: I2a903eef80a5300e9014999c2f0bc5d40ed5c735 Reviewed-on: https://go-review.googlesource.com/16836 Run-TryBot: Matthew Dempsky TryBot-Result: Gobot Gobot Reviewed-by: Andrew Gerrand --- diff --git a/src/runtime/lfstack.go b/src/runtime/lfstack.go index de3999a5fb..ea640eb12f 100644 --- a/src/runtime/lfstack.go +++ b/src/runtime/lfstack.go @@ -16,7 +16,7 @@ func lfstackpush(head *uint64, node *lfnode) { node.pushcnt++ new := lfstackPack(node, node.pushcnt) if node1, _ := lfstackUnpack(new); node1 != node { - println("runtime: lfstackpush invalid packing: node=", node, " cnt=", hex(node.pushcnt), " packed=", hex(new), " -> node=", node1, "\n") + print("runtime: lfstackpush invalid packing: node=", node, " cnt=", hex(node.pushcnt), " packed=", hex(new), " -> node=", node1, "\n") throw("lfstackpush") } for {