aboutsummaryrefslogtreecommitdiff
path: root/networking/udhcp/d6_dhcpc.c
diff options
context:
space:
mode:
Diffstat (limited to 'networking/udhcp/d6_dhcpc.c')
-rw-r--r--networking/udhcp/d6_dhcpc.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/networking/udhcp/d6_dhcpc.c b/networking/udhcp/d6_dhcpc.c
index 66bc021e2..5ebd05d01 100644
--- a/networking/udhcp/d6_dhcpc.c
+++ b/networking/udhcp/d6_dhcpc.c
@@ -1238,7 +1238,7 @@ int udhcpc6_main(int argc UNUSED_PARAM, char **argv)
1238 retval = 0; 1238 retval = 0;
1239 /* If we already timed out, fall through with retval = 0, else... */ 1239 /* If we already timed out, fall through with retval = 0, else... */
1240 if (tv > 0) { 1240 if (tv > 0) {
1241 log1("waiting on select %u seconds", tv); 1241 log1("waiting %u seconds", tv);
1242 timestamp_before_wait = (unsigned)monotonic_sec(); 1242 timestamp_before_wait = (unsigned)monotonic_sec();
1243 retval = poll(pfds, 2, tv < INT_MAX/1000 ? tv * 1000 : INT_MAX); 1243 retval = poll(pfds, 2, tv < INT_MAX/1000 ? tv * 1000 : INT_MAX);
1244 if (retval < 0) { 1244 if (retval < 0) {
@@ -1248,7 +1248,7 @@ int udhcpc6_main(int argc UNUSED_PARAM, char **argv)
1248 continue; 1248 continue;
1249 } 1249 }
1250 /* Else: an error occured, panic! */ 1250 /* Else: an error occured, panic! */
1251 bb_perror_msg_and_die("select"); 1251 bb_perror_msg_and_die("poll");
1252 } 1252 }
1253 } 1253 }
1254 1254