aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-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 a317cda55..a73e8eebf 100644
--- a/util-linux/rdate.c
+++ b/util-linux/rdate.c
@@ -51,7 +51,7 @@ static time_t askremotedate(const char *host)
51 int fd; 51 int fd;
52 52
53 bb_lookup_host(&s_in, host); 53 bb_lookup_host(&s_in, host);
54 s_in.sin_port = bb_lookup_port("time", 37); 54 s_in.sin_port = bb_lookup_port("time", "tcp", 37);
55 55
56 /* Add a timeout for dead or non accessable servers */ 56 /* Add a timeout for dead or non accessable servers */
57 alarm(10); 57 alarm(10);