[Libreoffice-commits] core.git: desktop/unx

Arnaud Versini arnaud.versini at gmail.com
Mon Oct 5 00:58:26 PDT 2015


 desktop/unx/source/start.c |    6 +++---
 1 file changed, 3 insertions(+), 3 deletions(-)

New commits:
commit 2c96382b324bce348853dac5631daf680d739f98
Author: Arnaud Versini <arnaud.versini at gmail.com>
Date:   Sun Oct 4 11:42:20 2015 +0200

    Add new line after error message during startup
    
    Change-Id: Ieaf81a3b9491141805722ea60c6a8ddfe94ecda3
    Reviewed-on: https://gerrit.libreoffice.org/19120
    Tested-by: Jenkins <ci at libreoffice.org>
    Reviewed-by: David Tardon <dtardon at redhat.com>

diff --git a/desktop/unx/source/start.c b/desktop/unx/source/start.c
index b9aa828..8803909 100644
--- a/desktop/unx/source/start.c
+++ b/desktop/unx/source/start.c
@@ -158,7 +158,7 @@ child_spawn ( Args *args, sal_Bool bAllArgs, sal_Bool bWithStatus )
 
     if ( nError != osl_Process_E_None )
     {
-        fprintf( stderr, "ERROR %d forking process", nError );
+        fprintf( stderr, "ERROR %d forking process\n", nError );
         ustr_debug( "", pApp );
         rtl_uString_release( pApp );
         _exit (1);
@@ -497,7 +497,7 @@ send_args( int fd, rtl_uString *pCwdPath )
              ( RTL_UNICODETOTEXT_FLAGS_UNDEFINED_ERROR
                | RTL_UNICODETOTEXT_FLAGS_INVALID_ERROR ) ) )
     {
-        fprintf( stderr, "ERROR: cannot convert arguments to UTF-8" );
+        fprintf( stderr, "ERROR: cannot convert arguments to UTF-8\n" );
         exit( 1 );
     }
 
@@ -594,7 +594,7 @@ system_checks( void )
     /* check proc is mounted - lots of things fail otherwise */
     if ( stat( "/proc/version", &buf ) != 0 )
     {
-        fprintf( stderr, "ERROR: /proc not mounted - LibreOffice is unlikely to work well if at all" );
+        fprintf( stderr, "ERROR: /proc not mounted - LibreOffice is unlikely to work well if at all\n" );
         exit( 1 );
     }
 #endif


More information about the Libreoffice-commits mailing list