[PATCH 2/2] libcsupport: Update rtems_print printk handler to return the length
chrisj at rtems.org
chrisj at rtems.org
Thu Dec 12 23:23:02 UTC 2019
From: Chris Johns <chrisj at rtems.org>
---
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 9676b83978..b45a781636 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(
--
2.23.0
More information about the devel
mailing list