From 725db196c36789b740e589b0b8a7da341af77351 Mon Sep 17 00:00:00 2001 From: Eric Andersen Date: Tue, 22 Jul 2003 08:26:05 +0000 Subject: Very minor rdate updates --- util-linux/rdate.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'util-linux') diff --git a/util-linux/rdate.c b/util-linux/rdate.c index 3c3b152..a5699eb 100644 --- a/util-linux/rdate.c +++ b/util-linux/rdate.c @@ -48,7 +48,7 @@ static time_t askremotedate(const char *host) fd = xconnect(host, port); - if (read(fd, (void *)&nett, 4) != 4) /* read time from server */ + 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); close(fd); -- cgit v1.1