summaryrefslogtreecommitdiff
path: root/usr/src/boot/lib/libstand/net.c
diff options
context:
space:
mode:
Diffstat (limited to 'usr/src/boot/lib/libstand/net.c')
-rw-r--r--usr/src/boot/lib/libstand/net.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/usr/src/boot/lib/libstand/net.c b/usr/src/boot/lib/libstand/net.c
index 740696a5a2..ea4c75b233 100644
--- a/usr/src/boot/lib/libstand/net.c
+++ b/usr/src/boot/lib/libstand/net.c
@@ -117,7 +117,7 @@ sendrecv(struct iodesc *d,
/* Try to get a packet and process it. */
cc = (*rproc)(d, pkt, payload, tleft);
/* Return on data, EOF or real error. */
- if (cc != -1 || errno != 0)
+ if (cc != -1 || (errno != 0 && errno != ETIMEDOUT))
return (cc);
/* Timed out or didn't get the packet we're waiting for */