summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorbde <bde@FreeBSD.org>1998-01-17 13:39:29 +0000
committerbde <bde@FreeBSD.org>1998-01-17 13:39:29 +0000
commita9f58b314583656d13806eceb2110a8ba618ef98 (patch)
tree4559078173c9e739e4237150a5a8caef85db0588
parent3313481cd8f9d04be880c474b5cc1de29063bb1a (diff)
downloadFreeBSD-src-a9f58b314583656d13806eceb2110a8ba618ef98.zip
FreeBSD-src-a9f58b314583656d13806eceb2110a8ba618ef98.tar.gz
Fixed syntax error in normally-unconfigured code in previous commit.
-rw-r--r--bin/cp/utils.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/bin/cp/utils.c b/bin/cp/utils.c
index 85de4a4..f3e55b7 100644
--- a/bin/cp/utils.c
+++ b/bin/cp/utils.c
@@ -30,7 +30,7 @@
* OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF
* SUCH DAMAGE.
*
- * $Id: utils.c,v 1.14 1997/10/03 18:11:14 wosch Exp $
+ * $Id: utils.c,v 1.15 1998/01/16 07:37:05 bde Exp $
*/
#ifndef lint
@@ -130,7 +130,7 @@ copy_file(entp, dne)
rval = 1;
} else {
for (bufp = p, wresid = fs->st_size; ;
- bufp += wcount, wresid -= wcount)
+ bufp += wcount, wresid -= wcount) {
wcount = write(to_fd, bufp, wresid);
if (wcount >= wresid || wcount <= 0)
break;
OpenPOWER on IntegriCloud