summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorps <ps@FreeBSD.org>2000-04-27 03:23:50 +0000
committerps <ps@FreeBSD.org>2000-04-27 03:23:50 +0000
commit4ff5ca59a75f537882934263881113c1ce6f4ab6 (patch)
tree4bfb38e0ef5235587845b2e2dad4b579551b2ae1
parentf89de11e935baf078cf587d2294188f9e5c65349 (diff)
downloadFreeBSD-src-4ff5ca59a75f537882934263881113c1ce6f4ab6.zip
FreeBSD-src-4ff5ca59a75f537882934263881113c1ce6f4ab6.tar.gz
Don't report errors when we UDP_WRITE fails with a status of 1.
-rw-r--r--sys/boot/i386/libi386/pxe.c4
1 files changed, 3 insertions, 1 deletions
diff --git a/sys/boot/i386/libi386/pxe.c b/sys/boot/i386/libi386/pxe.c
index 101e555..cad5928 100644
--- a/sys/boot/i386/libi386/pxe.c
+++ b/sys/boot/i386/libi386/pxe.c
@@ -496,7 +496,9 @@ sendudp(struct iodesc *h, void *pkt, size_t len)
delay(1000);
#endif
if (udpwrite_p->status != 0) {
- printf("sendudp failed %x\n", udpwrite_p->status);
+ /* XXX: This happens a lot. It shouldn't. */
+ if (udpwrite_p->status != 1)
+ printf("sendudp failed %x\n", udpwrite_p->status);
return -1;
}
return len;
OpenPOWER on IntegriCloud