summaryrefslogtreecommitdiff
path: root/util-linux/rdate.c
diff options
context:
space:
mode:
authorDenis Vlasenko2006-10-26 01:09:46 +0000
committerDenis Vlasenko2006-10-26 01:09:46 +0000
commit1457915afcb8fb0697f441dce1697b278d25f4a5 (patch)
tree4f61a7fd5a6a3ebbca053c55dc68b8a3edb7700b /util-linux/rdate.c
parent940b2e4b734e92cd6dd10c33910439478812d106 (diff)
downloadbusybox-1457915afcb8fb0697f441dce1697b278d25f4a5.zip
busybox-1457915afcb8fb0697f441dce1697b278d25f4a5.tar.gz
xconnect is non-conforming to "xfunc like libc" rule. Fixing
Diffstat (limited to 'util-linux/rdate.c')
-rw-r--r--util-linux/rdate.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/util-linux/rdate.c b/util-linux/rdate.c
index 6ad0554..645b0b9 100644
--- a/util-linux/rdate.c
+++ b/util-linux/rdate.c
@@ -42,7 +42,7 @@ static time_t askremotedate(const char *host)
alarm(10);
signal(SIGALRM, socket_timeout);
- fd = xconnect(&s_in);
+ fd = xconnect_tcp_v4(&s_in);
if (safe_read(fd, (void *)&nett, 4) != 4) /* read time from server */
bb_error_msg_and_die("%s did not send the complete time", host);