Page MenuHomeFreeBSD

D33408.diff
No OneTemporary

D33408.diff

diff --git a/stand/libsa/net.c b/stand/libsa/net.c
--- a/stand/libsa/net.c
+++ b/stand/libsa/net.c
@@ -101,10 +101,9 @@
tmo = MINTMO;
tlast = 0;
tleft = 0;
- tref = getsecs();
- t = getsecs();
+ tref = t = getsecs();
for (;;) {
- if (MAXWAIT > 0 && (getsecs() - tref) >= MAXWAIT) {
+ if (MAXWAIT > 0 && (t - tref) >= MAXWAIT) {
errno = ETIMEDOUT;
return -1;
}

File Metadata

Mime Type
text/plain
Expires
Tue, Jan 28, 5:46 AM (3 h, 53 m)
Storage Engine
blob
Storage Format
Raw Data
Storage Handle
16199299
Default Alt Text
D33408.diff (382 B)

Event Timeline