[BusyBox-cvs] busybox/util-linux rdate.c,1.22,1.23

Erik Andersen andersen at busybox.net
Tue Jul 22 08:26:07 UTC 2003


Update of /var/cvs/busybox/util-linux
In directory winder:/tmp/cvs-serv28836/util-linux

Modified Files:
	rdate.c 
Log Message:
Very minor rdate updates


Index: rdate.c
===================================================================
RCS file: /var/cvs/busybox/util-linux/rdate.c,v
retrieving revision 1.22
retrieving revision 1.23
diff -u -d -r1.22 -r1.23
--- rdate.c	19 Mar 2003 09:13:01 -0000	1.22
+++ rdate.c	22 Jul 2003 08:26:03 -0000	1.23
@@ -48,7 +48,7 @@
 
 	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);




More information about the busybox-cvs mailing list