diff options
author | Eric Andersen <andersen@codepoet.org> | 2003-07-22 12:26:05 +0400 |
---|---|---|
committer | Eric Andersen <andersen@codepoet.org> | 2003-07-22 12:26:05 +0400 |
commit | 725db196c36789b740e589b0b8a7da341af77351 (patch) | |
tree | fff80ce29c30a7ac6da505d4142d1af31c3a8af6 /util-linux | |
parent | d9fe958921259372327a76307131e32a44fe15ad (diff) |
Very minor rdate updates
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 3c3b152a2..a5699ebf4 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); |