aboutsummaryrefslogtreecommitdiff
path: root/util-linux
diff options
context:
space:
mode:
authorandersen <andersen@69ca8d6d-28ef-0310-b511-8ec308f3f277>2003-07-22 08:26:05 +0000
committerandersen <andersen@69ca8d6d-28ef-0310-b511-8ec308f3f277>2003-07-22 08:26:05 +0000
commit06b9a8f03ed1ac7a02ab2fcdd41d924fc8570ede (patch)
treefff80ce29c30a7ac6da505d4142d1af31c3a8af6 /util-linux
parentdafd1d37cd1911424fcac2f002910941f7ce264f (diff)
downloadbusybox-w32-06b9a8f03ed1ac7a02ab2fcdd41d924fc8570ede.tar.gz
busybox-w32-06b9a8f03ed1ac7a02ab2fcdd41d924fc8570ede.tar.bz2
busybox-w32-06b9a8f03ed1ac7a02ab2fcdd41d924fc8570ede.zip
Very minor rdate updates
git-svn-id: svn://busybox.net/trunk/busybox@7086 69ca8d6d-28ef-0310-b511-8ec308f3f277
Diffstat (limited to 'util-linux')
-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 3c3b152a2..a5699ebf4 100644
--- a/util-linux/rdate.c
+++ b/util-linux/rdate.c
@@ -48,7 +48,7 @@ static time_t askremotedate(const char *host)
48 48
49 fd = xconnect(host, port); 49 fd = xconnect(host, port);
50 50
51 if (read(fd, (void *)&nett, 4) != 4) /* read time from server */ 51 if (safe_read(fd, (void *)&nett, 4) != 4) /* read time from server */
52 bb_error_msg_and_die("%s did not send the complete time", host); 52 bb_error_msg_and_die("%s did not send the complete time", host);
53 53
54 close(fd); 54 close(fd);