[rtems commit] libcsupport: Update rtems_print printk handler to return the length

Chris Johns chrisj at rtems.org
Mon Dec 16 01:33:24 UTC 2019


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

Author:    Chris Johns <chrisj at rtems.org>
Date:      Fri Dec 13 10:22:06 2019 +1100

libcsupport: Update rtems_print printk handler to return the length

---

 cpukit/libcsupport/src/printk_plugin.c | 3 +--
 1 file changed, 1 insertion(+), 2 deletions(-)

diff --git a/cpukit/libcsupport/src/printk_plugin.c b/cpukit/libcsupport/src/printk_plugin.c
index 9676b83..b45a781 100644
--- a/cpukit/libcsupport/src/printk_plugin.c
+++ b/cpukit/libcsupport/src/printk_plugin.c
@@ -28,8 +28,7 @@ int rtems_printk_printer(
 )
 {
   (void) ignored;
-  vprintk( format, ap );
-  return 0;
+  return vprintk( format, ap );
 }
 
 void rtems_print_printer_printk(



More information about the vc mailing list