aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authormaximilian attems <max@stro.at>2011-09-03 19:09:21 +0200
committermaximilian attems <max@stro.at>2011-09-03 19:15:36 +0200
commitd84f05d6d8a452629e642659b9604a0372e6a5e6 (patch)
tree33fb30090340e2f64d2c0b21a54f58ab715c674c
parentc40634c7812fa4d4edd6a11918ea05a52742dbbc (diff)
downloadklibc-d84f05d6d8a452629e642659b9604a0372e6a5e6.tar.gz
[klibc] fflush: add missing parenthesis
Noticed by current cppcheck, all other stdio code is clean. Signed-off-by: maximilian attems <max@stro.at>
-rw-r--r--usr/klibc/stdio/fflush.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/usr/klibc/stdio/fflush.c b/usr/klibc/stdio/fflush.c
index 434fc51c3d125..0970c68a678ef 100644
--- a/usr/klibc/stdio/fflush.c
+++ b/usr/klibc/stdio/fflush.c
@@ -18,7 +18,7 @@ int fflush(FILE *f)
return err;
}
- if (!f->flags & _IO_FILE_FLAG_WRITE)
+ if (!(f->flags & _IO_FILE_FLAG_WRITE))
return 0;
p = f->buf;