summaryrefslogtreecommitdiffstats
path: root/libc/stdio/fvwrite.c
diff options
context:
space:
mode:
authorThe Android Open Source Project <initial-contribution@android.com>2010-05-17 10:22:35 -0700
committerThe Android Open Source Project <initial-contribution@android.com>2010-05-17 10:22:35 -0700
commit8e1ee7fd01986825074ececd39e8c2a5ebc907e0 (patch)
tree5cdd7d18c29f2b36f43142b9b8719282f5b24f38 /libc/stdio/fvwrite.c
parentfdf2454db21284b5e1ec23cb18724388c85fd975 (diff)
parenta910abcd194830d2d113b3e183eb7df4d36cd92e (diff)
downloadbionic-8e1ee7fd01986825074ececd39e8c2a5ebc907e0.zip
bionic-8e1ee7fd01986825074ececd39e8c2a5ebc907e0.tar.gz
bionic-8e1ee7fd01986825074ececd39e8c2a5ebc907e0.tar.bz2
merge from open-source master
Change-Id: I5804d8850f2d4fb7b5d5c53d51e153f7ced9646e
Diffstat (limited to 'libc/stdio/fvwrite.c')
-rw-r--r--libc/stdio/fvwrite.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/libc/stdio/fvwrite.c b/libc/stdio/fvwrite.c
index bbea672..ee39400 100644
--- a/libc/stdio/fvwrite.c
+++ b/libc/stdio/fvwrite.c
@@ -83,7 +83,7 @@ __sfvwrite(FILE *fp, struct __suio *uio)
do {
GETIOV(;);
#if 1 /* BIONIC: don't limit to 1KB writes */
- w = (*fp->_write)(fp->_cookie, p, len);
+ w = (*fp->_write)(fp->_cookie, p, len);
#else
w = (*fp->_write)(fp->_cookie, p, MIN(len, BUFSIZ2));
#endif
@@ -183,7 +183,7 @@ __sfvwrite(FILE *fp, struct __suio *uio)
} else if (s >= (w = fp->_bf._size)) {
w = (*fp->_write)(fp->_cookie, p, w);
if (w <= 0)
- goto err;
+ goto err;
} else {
w = s;
COPY(w);