From 1457915afcb8fb0697f441dce1697b278d25f4a5 Mon Sep 17 00:00:00 2001 From: Denis Vlasenko Date: Thu, 26 Oct 2006 01:09:46 +0000 Subject: xconnect is non-conforming to "xfunc like libc" rule. Fixing --- util-linux/rdate.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'util-linux/rdate.c') 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) 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); -- cgit v1.2.3