Skip to main content
aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorJan Belle2020-04-24 11:34:28 +0000
committerJan Belle2020-04-24 11:34:28 +0000
commit8ed2251ee8df3e5d9ff87d9e0f698fe557fa9729 (patch)
tree49f526520b95816837a259b4d7cafb893a46a956 /runtime/org.eclipse.etrice.runtime.c/src/platforms/MT_POSIX_GENERIC_GCC/etLogger.c
parentee82858c0b96598ac48ad4ef4b9d4ff005264bc9 (diff)
downloadorg.eclipse.etrice-8ed2251ee8df3e5d9ff87d9e0f698fe557fa9729.tar.gz
org.eclipse.etrice-8ed2251ee8df3e5d9ff87d9e0f698fe557fa9729.tar.xz
org.eclipse.etrice-8ed2251ee8df3e5d9ff87d9e0f698fe557fa9729.zip
[runtime.c] Fix deadlock caused by posix implementation of etTimer
Diffstat (limited to 'runtime/org.eclipse.etrice.runtime.c/src/platforms/MT_POSIX_GENERIC_GCC/etLogger.c')
-rw-r--r--runtime/org.eclipse.etrice.runtime.c/src/platforms/MT_POSIX_GENERIC_GCC/etLogger.c12
1 files changed, 6 insertions, 6 deletions
diff --git a/runtime/org.eclipse.etrice.runtime.c/src/platforms/MT_POSIX_GENERIC_GCC/etLogger.c b/runtime/org.eclipse.etrice.runtime.c/src/platforms/MT_POSIX_GENERIC_GCC/etLogger.c
index 42fe4cd82..f4f5b38f2 100644
--- a/runtime/org.eclipse.etrice.runtime.c/src/platforms/MT_POSIX_GENERIC_GCC/etLogger.c
+++ b/runtime/org.eclipse.etrice.runtime.c/src/platforms/MT_POSIX_GENERIC_GCC/etLogger.c
@@ -18,8 +18,8 @@
void etLogger_logError(const char* message){
- fprintf(stderr, "ERROR: %s\n", message);
- fflush(stderr);
+ fprintf(stdout, "ERROR: %s\n", message);
+ fflush(stdout);
}
void etLogger_logWarning(const char* message){
@@ -33,13 +33,13 @@ void etLogger_logInfo(const char* message){
}
void etLogger_logErrorF(const char* format, ... ){
- fprintf(stderr, "ERROR: ");
+ fprintf(stdout, "ERROR: ");
va_list arglist;
va_start( arglist, format );
- vfprintf(stderr, format, arglist );
+ vfprintf(stdout, format, arglist );
va_end( arglist );
- fprintf(stderr, "\n");
- fflush(stderr);
+ fprintf(stdout, "\n");
+ fflush(stdout);
}
void etLogger_logWarningF(const char* format, ... ){

Back to the top