diff options
author | jsing <> | 2018-03-15 16:21:22 +0000 |
---|---|---|
committer | jsing <> | 2018-03-15 16:21:22 +0000 |
commit | 3af1ea8463212d819635d3aef59d741cea72dd8c (patch) | |
tree | 2693d9dfb33733d501f6e4509e8e3ce4d48bd8ba /src | |
parent | 7535138c33770c8dc407e3f75d6a75d2459c30ca (diff) | |
download | openbsd-3af1ea8463212d819635d3aef59d741cea72dd8c.tar.gz openbsd-3af1ea8463212d819635d3aef59d741cea72dd8c.tar.bz2 openbsd-3af1ea8463212d819635d3aef59d741cea72dd8c.zip |
Fix a format string issue that Go 1.10 complains about.
Diffstat (limited to 'src')
-rw-r--r-- | src/regress/lib/libtls/gotls/tls.go | 2 |
1 files changed, 1 insertions, 1 deletions
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 | |||
31 | func (pv ProtocolVersion) String() string { | 31 | func (pv ProtocolVersion) String() string { |
32 | name, ok := protocolNames[pv] | 32 | name, ok := protocolNames[pv] |
33 | if !ok { | 33 | if !ok { |
34 | return fmt.Sprintf("unknown protocol version %x", pv) | 34 | return fmt.Sprintf("unknown protocol version %x", uint32(pv)) |
35 | } | 35 | } |
36 | return name | 36 | return name |
37 | } | 37 | } |