diff options
author | Ron Yorston <rmy@pobox.com> | 2018-05-13 08:15:58 +0100 |
---|---|---|
committer | Ron Yorston <rmy@pobox.com> | 2018-05-13 08:15:58 +0100 |
commit | 3ce461fdf3b7adfd44ea058fa0c5ca6d91a5bc5d (patch) | |
tree | a527d0db15f34a137fc11df5538c7f2f7c6d72de /util-linux | |
parent | 6f7d1af269eed4b42daeb9c6dfd2ba62f9cd47e4 (diff) | |
parent | d80eecb86812c1fbda652f9b995060c26ba0b155 (diff) | |
download | busybox-w32-3ce461fdf3b7adfd44ea058fa0c5ca6d91a5bc5d.tar.gz busybox-w32-3ce461fdf3b7adfd44ea058fa0c5ca6d91a5bc5d.tar.bz2 busybox-w32-3ce461fdf3b7adfd44ea058fa0c5ca6d91a5bc5d.zip |
Merge branch 'busybox' into merge
Diffstat (limited to 'util-linux')
-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 f27294e25..5ec795208 100644 --- a/util-linux/rdate.c +++ b/util-linux/rdate.c | |||
@@ -45,7 +45,7 @@ static time_t askremotedate(const char *host) | |||
45 | alarm(10); | 45 | alarm(10); |
46 | signal(SIGALRM, socket_timeout); | 46 | signal(SIGALRM, socket_timeout); |
47 | 47 | ||
48 | fd = create_and_connect_stream_or_die(host, bb_lookup_port("time", "tcp", 37)); | 48 | fd = create_and_connect_stream_or_die(host, bb_lookup_std_port("time", "tcp", 37)); |
49 | 49 | ||
50 | if (safe_read(fd, &nett, 4) != 4) /* read time from server */ | 50 | if (safe_read(fd, &nett, 4) != 4) /* read time from server */ |
51 | bb_error_msg_and_die("%s: %s", host, "short read"); | 51 | bb_error_msg_and_die("%s: %s", host, "short read"); |