From 3073797c37e168f3671880c683a228f9f8f942e3 Mon Sep 17 00:00:00 2001 From: Matthew Dempsky Date: Wed, 11 Nov 2015 20:49:37 -0800 Subject: [PATCH] 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 --- src/runtime/lfstack.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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 { -- 2.48.1