summaryrefslogtreecommitdiff
path: root/sysdeps
diff options
context:
space:
mode:
authorUlrich Drepper <drepper@redhat.com>1997-11-19 23:46:30 +0000
committerUlrich Drepper <drepper@redhat.com>1997-11-19 23:46:30 +0000
commit64266ab6825d8da9e4b8dac49c3107716061a1c6 (patch)
tree9641c66e0a7480d2a8108b24c9f898dc534c03ff /sysdeps
parentbf32638564f8bfc23c52175eadc48046524b29c8 (diff)
Correct end condition.
Diffstat (limited to 'sysdeps')
-rw-r--r--sysdeps/posix/writev.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/sysdeps/posix/writev.c b/sysdeps/posix/writev.c
index f6f685ce7a..0fd9f78e22 100644
--- a/sysdeps/posix/writev.c
+++ b/sysdeps/posix/writev.c
@@ -57,7 +57,7 @@ __writev (fd, vector, count)
bp += copy;
to_copy -= copy;
- if (bytes == 0)
+ if (to_copy == 0)
break;
}