summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--automation/source/simplecm/simplecm.cxx2
-rw-r--r--extensions/source/logging/consolehandler.cxx4
2 files changed, 3 insertions, 3 deletions
diff --git a/automation/source/simplecm/simplecm.cxx b/automation/source/simplecm/simplecm.cxx
index 26c8d6af0585..0e51768361c5 100644
--- a/automation/source/simplecm/simplecm.cxx
+++ b/automation/source/simplecm/simplecm.cxx
@@ -45,7 +45,7 @@ void debug_printf( const char *chars )
static BOOL bPrint = (getenv("DEBUG") != NULL);
if ( bPrint )
{
- printf( chars );
+ printf( "%c\n", chars );
fflush( stdout );
}
}
diff --git a/extensions/source/logging/consolehandler.cxx b/extensions/source/logging/consolehandler.cxx
index c095198900ef..6f0a6b4969da 100644
--- a/extensions/source/logging/consolehandler.cxx
+++ b/extensions/source/logging/consolehandler.cxx
@@ -250,9 +250,9 @@ namespace logging
return sal_False;
if ( _rRecord.Level >= m_nThreshold )
- fprintf( stderr, sEntry.getStr() );
+ fprintf( stderr, "%s\n", sEntry.getStr() );
else
- fprintf( stdout, sEntry.getStr() );
+ fprintf( stdout, "%s\n", sEntry.getStr() );
return sal_True;
}