aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorPřemysl Eric Janouch <p@janouch.name>2022-03-16 12:55:07 +0100
committerPřemysl Eric Janouch <p@janouch.name>2022-03-16 12:57:00 +0100
commit8b376694d39e7cf1e35e6ac7f603a552fa81b23f (patch)
tree2583017b52a54fccb1b68546eece137678ff6a9d
parent22e386185139ffa37ce531b5ad211cecbc6ad735 (diff)
downloadhaven-8b376694d39e7cf1e35e6ac7f603a552fa81b23f.tar.gz
haven-8b376694d39e7cf1e35e6ac7f603a552fa81b23f.tar.xz
haven-8b376694d39e7cf1e35e6ac7f603a552fa81b23f.zip
hid: make note of a deprecation
-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 {