hid: make note of a deprecation

This commit is contained in:
Přemysl Eric Janouch 2022-03-16 12:55:07 +01:00
parent a51c247d69
commit 9c31fb69df

View File

@ -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 {