aboutsummaryrefslogtreecommitdiff
path: root/bin/cp
diff options
context:
space:
mode:
authorBruce Evans <bde@FreeBSD.org>1998-01-17 13:39:29 +0000
committerBruce Evans <bde@FreeBSD.org>1998-01-17 13:39:29 +0000
commitbf770561eebdc852b225da413c34b44d1b404014 (patch)
tree58cb5821a70875a7978b352777b75860b33e35d5 /bin/cp
parent73dfa4e8d6b51ab6323c3c5d05450482131ec25a (diff)
downloadsrc-bf770561eebdc852b225da413c34b44d1b404014.tar.gz
src-bf770561eebdc852b225da413c34b44d1b404014.zip
Fixed syntax error in normally-unconfigured code in previous commit.
Notes
Notes: svn path=/head/; revision=32588
Diffstat (limited to 'bin/cp')
-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 85de4a468564..f3e55b7233ee 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;