Diff of /trunk/mkinitrd-magellan/klibc/usr/kinit/nfsmount/sunrpc.c
Parent Directory | Revision Log | Patch
revision 815 by niro, Fri Apr 24 18:32:46 2009 UTC | revision 1122 by niro, Wed Aug 18 21:11:40 2010 UTC | |
---|---|---|
# | Line 120 static int rpc_call_udp(struct client *c | Line 120 static int rpc_call_udp(struct client *c |
120 | goto bail; | goto bail; |
121 | } | } |
122 | if (ret == 0) { | if (ret == 0) { |
123 | DEBUG(("Timeout #%d\n", i + 1)); | dprintf("Timeout #%d\n", i + 1); |
124 | break; | break; |
125 | } | } |
126 | if ((ret = rpc_do_reply(clnt, rpc, UDP_HDR_OFF)) == 0) { | if ((ret = rpc_do_reply(clnt, rpc, UDP_HDR_OFF)) == 0) { |
127 | goto done; | goto done; |
128 | } else { | } else { |
129 | DEBUG(("Failed on try #%d - retrying\n", | dprintf("Failed on try #%d - retrying\n", |
130 | i + 1)); | i + 1); |
131 | } | } |
132 | } | } |
133 | } | } |
|