hid: make note of a deprecation

This commit is contained in:
Přemysl Eric Janouch 2022-03-16 12:55:07 +01:00
parent 22e3861851
commit 8b376694d3
Signed by: p
GPG Key ID: A0420B94F92B9493

View File

@ -3133,6 +3133,7 @@ func accept(ln net.Listener) {
"use of closed network connection") { "use of closed network connection") {
return return
} }
// XXX: net.Error.Temporary() has been deprecated in 1.18.
if op, ok := err.(net.Error); !ok || !op.Temporary() { if op, ok := err.(net.Error); !ok || !op.Temporary() {
exitFatal("%s", err) exitFatal("%s", err)
} else { } else {