projects
/
bertos.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
6ab5f75
)
Flush kfile in generic kfile_close implementation.
author
batt
<batt@38d2e660-2303-0410-9eaa-f027e97ec537>
Sat, 24 Jul 2010 10:23:46 +0000
(10:23 +0000)
committer
batt
<batt@38d2e660-2303-0410-9eaa-f027e97ec537>
Sat, 24 Jul 2010 10:23:46 +0000
(10:23 +0000)
git-svn-id: https://src.develer.com/svnoss/bertos/trunk@4064
38d2e660
-2303-0410-9eaa-
f027e97ec537
bertos/io/kfile.c
patch
|
blob
|
history
diff --git
a/bertos/io/kfile.c
b/bertos/io/kfile.c
index 6113d5f77e6ef0e19538799e08fd30f9f977f1e9..f4df850b1133390743187daeb1d44b771e7121b8 100644
(file)
--- a/
bertos/io/kfile.c
+++ b/
bertos/io/kfile.c
@@
-220,12
+220,12
@@
struct KFile * kfile_genericReopen(struct KFile *fd)
/**
* Close file \a fd.
- * This is a generic implementation that only
return 0
.
+ * This is a generic implementation that only
flush the file
.
*/
-int kfile_genericClose(
UNUSED_ARG(struct KFile *, fd)
)
+int kfile_genericClose(
struct KFile *fd
)
{
- return
0
;
-}
;
+ return
kfile_flush(fd)
;
+}
/**