From 8b376694d39e7cf1e35e6ac7f603a552fa81b23f Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?P=C5=99emysl=20Eric=20Janouch?= Date: Wed, 16 Mar 2022 12:55:07 +0100 Subject: [PATCH] hid: make note of a deprecation --- hid/main.go | 1 + 1 file changed, 1 insertion(+) diff --git a/hid/main.go b/hid/main.go index 43a04f2..cf57b5e 100644 --- a/hid/main.go +++ b/hid/main.go @@ -3133,6 +3133,7 @@ func accept(ln net.Listener) { "use of closed network connection") { return } + // XXX: net.Error.Temporary() has been deprecated in 1.18. if op, ok := err.(net.Error); !ok || !op.Temporary() { exitFatal("%s", err) } else {