diff options
Diffstat (limited to 'networking/tftp.c')
-rw-r--r-- | networking/tftp.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/networking/tftp.c b/networking/tftp.c index ac3a86afb..59f53ae4a 100644 --- a/networking/tftp.c +++ b/networking/tftp.c | |||
@@ -225,7 +225,7 @@ static int tftp( USE_GETPUT(const int cmd,) | |||
225 | /* Receive packet */ | 225 | /* Receive packet */ |
226 | /*pfd[0].fd = socketfd;*/ | 226 | /*pfd[0].fd = socketfd;*/ |
227 | pfd[0].events = POLLIN; | 227 | pfd[0].events = POLLIN; |
228 | switch (poll(pfd, 1, waittime_ms)) { | 228 | switch (safe_poll(pfd, 1, waittime_ms)) { |
229 | unsigned from_port; | 229 | unsigned from_port; |
230 | case 1: | 230 | case 1: |
231 | from->len = peer_lsa->len; | 231 | from->len = peer_lsa->len; |
@@ -262,7 +262,7 @@ static int tftp( USE_GETPUT(const int cmd,) | |||
262 | 262 | ||
263 | goto send_again; /* resend last sent pkt */ | 263 | goto send_again; /* resend last sent pkt */ |
264 | default: | 264 | default: |
265 | bb_perror_msg("poll"); | 265 | /*bb_perror_msg("poll"); - done in safe_poll */ |
266 | goto ret; | 266 | goto ret; |
267 | } | 267 | } |
268 | process_pkt: | 268 | process_pkt: |