From mboxrd@z Thu Jan 1 00:00:00 1970 From: rmccabe@sourceware.org Date: 20 Sep 2007 01:57:18 -0000 Subject: [Cluster-devel] conga/ricci/common sys_util.c Message-ID: <20070920015718.31432.qmail@sourceware.org> List-Id: To: cluster-devel.redhat.com MIME-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit CVSROOT: /cvs/cluster Module name: conga Changes by: rmccabe at sourceware.org 2007-09-20 01:57:18 Modified files: ricci/common : sys_util.c Log message: Two s's went missing. Patches: http://sourceware.org/cgi-bin/cvsweb.cgi/conga/ricci/common/sys_util.c.diff?cvsroot=cluster&r1=1.2&r2=1.3 --- conga/ricci/common/sys_util.c 2007/09/11 00:26:52 1.2 +++ conga/ricci/common/sys_util.c 2007/09/20 01:57:17 1.3 @@ -32,7 +32,7 @@ void *buf_orig = buf; while (len > 0) { - size_t ret = read(fd, buf, len); + ssize_t ret = read(fd, buf, len); if (ret < 0) { if (errno == EINTR) continue; @@ -54,7 +54,7 @@ const void *buf_orig = buf; while (len > 0) { - size_t ret = write(fd, buf, len); + ssize_t ret = write(fd, buf, len); if (ret < 0) { if (errno == EINTR) continue;