From 79e16ec16e7b33a23d84302f1123f33d1d84c327 Mon Sep 17 00:00:00 2001 From: jsing <> Date: Thu, 15 Mar 2018 16:21:22 +0000 Subject: Fix a format string issue that Go 1.10 complains about. --- src/regress/lib/libtls/gotls/tls.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/regress/lib/libtls/gotls/tls.go b/src/regress/lib/libtls/gotls/tls.go index 961dde1308..be75e71f4f 100644 --- a/src/regress/lib/libtls/gotls/tls.go +++ b/src/regress/lib/libtls/gotls/tls.go @@ -31,7 +31,7 @@ type ProtocolVersion uint32 func (pv ProtocolVersion) String() string { name, ok := protocolNames[pv] if !ok { - return fmt.Sprintf("unknown protocol version %x", pv) + return fmt.Sprintf("unknown protocol version %x", uint32(pv)) } return name } -- cgit v1.2.3-55-g6feb