From 57c6e666ccf75462136c81705653bedf6a5b44ab Mon Sep 17 00:00:00 2001 From: Bill Fenner Date: Mon, 26 Mar 2001 16:18:01 +0000 Subject: [PATCH] Fix error reporting of delayed send errors. --- bin/date/netdate.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/bin/date/netdate.c b/bin/date/netdate.c index 3ec041ad1813..8c5f6e97937d 100644 --- a/bin/date/netdate.c +++ b/bin/date/netdate.c @@ -147,7 +147,7 @@ loop: if (!getsockopt(s, SOL_SOCKET, SO_ERROR, (char *)&err, &length) && err) { if (err != ECONNREFUSED) - warn("send (delayed error)"); + warnc(err, "send (delayed error)"); goto bad; }