[rtems commit] console: Add missing return status

Sebastian Huber sebh at rtems.org
Fri Jun 29 09:53:31 UTC 2018


Module:    rtems
Branch:    master
Commit:    196ce1859a0d2b41f33c6a2ff5b7523a96a6aabc
Changeset: http://git.rtems.org/rtems/commit/?id=196ce1859a0d2b41f33c6a2ff5b7523a96a6aabc

Author:    Sebastian Huber <sebastian.huber at embedded-brains.de>
Date:      Thu Jun 21 12:54:06 2018 +0200

console: Add missing return status

Update #3320.

---

 cpukit/libcsupport/src/consolesimpletask.c | 2 ++
 1 file changed, 2 insertions(+)

diff --git a/cpukit/libcsupport/src/consolesimpletask.c b/cpukit/libcsupport/src/consolesimpletask.c
index 29bab8c..1f83a49 100644
--- a/cpukit/libcsupport/src/consolesimpletask.c
+++ b/cpukit/libcsupport/src/consolesimpletask.c
@@ -139,6 +139,8 @@ static int _Console_simple_task_Fsync( rtems_libio_t *iop )
 
   cons = IMFS_generic_get_context_by_iop( iop );
   _Console_simple_task_Put_chars( cons );
+
+  return 0;
 }
 
 static const rtems_filesystem_file_handlers_r _Console_simple_task_Handlers = {




More information about the vc mailing list