Modernize Bongo overlay packages

This commit is contained in:
Mario Fetka
2026-07-16 23:07:54 +02:00
parent 09c280e24f
commit e85af33176
20 changed files with 287 additions and 1362 deletions
@@ -0,0 +1,13 @@
--- a/examples/helloworld1/mylog.h
+++ b/examples/helloworld1/mylog.h
@@ -39,9 +39,9 @@
static LOG4C_INLINE void mylog_msg(char *catName,int a_priority, char *msg){
#ifndef WITHOUT_LOG4C
- log4c_category_log(log4c_category_get(catName), a_priority, msg);
+ log4c_category_log(log4c_category_get(catName), a_priority, "%s", msg);
#else
- printf(msg);
+ printf("%s", msg);
#endif
}