ref: 4b563b46b7805b5672c69f011545c269cb8ad991
parent: 0f0d6ed9a238d417aa72463454b11714f43ae8bb
author: cinap_lenrek <cinap_lenrek@felloff.net>
date: Sun Apr 16 11:35:50 EDT 2023
aux/listen: log the real error when announce() fails
--- a/sys/src/cmd/aux/listen.c
+++ b/sys/src/cmd/aux/listen.c
@@ -216,7 +216,7 @@
for(;;){
ctl = announce(ds, dir);
if(ctl < 0) {
- errstr(err, sizeof err);
+ rerrstr(err, sizeof err);
if (!whined)
syslog(1, listenlog,
"giving up on %s: %r",
--
⑨