aboutsummaryrefslogtreecommitdiff
path: root/hid/main.go
diff options
context:
space:
mode:
Diffstat (limited to 'hid/main.go')
-rw-r--r--hid/main.go1
1 files changed, 1 insertions, 0 deletions
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 {