diff options
author | fenner <fenner@FreeBSD.org> | 2001-03-26 16:18:01 +0000 |
---|---|---|
committer | fenner <fenner@FreeBSD.org> | 2001-03-26 16:18:01 +0000 |
commit | 50542906d3b63d0e8942e45ac5f5c2b28779facb (patch) | |
tree | a9265a9a0f967789f6a9dddaf97bc58c91dc2b7a /bin/date | |
parent | ffbd5f978d5e034c5c1c8c018f77afcc43eba8d4 (diff) | |
download | FreeBSD-src-50542906d3b63d0e8942e45ac5f5c2b28779facb.zip FreeBSD-src-50542906d3b63d0e8942e45ac5f5c2b28779facb.tar.gz |
Fix error reporting of delayed send errors.
Diffstat (limited to 'bin/date')
-rw-r--r-- | bin/date/netdate.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/bin/date/netdate.c b/bin/date/netdate.c index 3ec041a..8c5f6e9 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; } |