diff options
Diffstat (limited to 'util-linux/rdate.c')
-rw-r--r-- | util-linux/rdate.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/util-linux/rdate.c b/util-linux/rdate.c index 6ad055434..645b0b929 100644 --- a/util-linux/rdate.c +++ b/util-linux/rdate.c | |||
@@ -42,7 +42,7 @@ static time_t askremotedate(const char *host) | |||
42 | alarm(10); | 42 | alarm(10); |
43 | signal(SIGALRM, socket_timeout); | 43 | signal(SIGALRM, socket_timeout); |
44 | 44 | ||
45 | fd = xconnect(&s_in); | 45 | fd = xconnect_tcp_v4(&s_in); |
46 | 46 | ||
47 | if (safe_read(fd, (void *)&nett, 4) != 4) /* read time from server */ | 47 | if (safe_read(fd, (void *)&nett, 4) != 4) /* read time from server */ |
48 | bb_error_msg_and_die("%s did not send the complete time", host); | 48 | bb_error_msg_and_die("%s did not send the complete time", host); |