@@ -143,7 +143,7 @@ static int stream_pipe_create(int stream) {
143143 _pipe (fds , 1024 , O_TEXT );
144144#else
145145 if (pipe (fds ) == -1 ) {
146- fprintf (stderr , "Error: cannot create pipe for WEBOTS_STDOUT_REDIRECT\n" );
146+ fprintf (stderr , "Error: cannot create pipe for WEBOTS_STDOUT_REDIRECT. \n" );
147147 exit (EXIT_FAILURE );
148148 }
149149 fcntl (fds [0 ], F_SETFL , O_NONBLOCK );
@@ -768,7 +768,7 @@ void wb_robot_set_mode(WbRobotMode mode, const char *arg) {
768768 robot .toggle_remote_first_step = true;
769769 return ;
770770 } else
771- fprintf (stderr , "Error: %s(): starting the remote control library (wbr_start) failed\n" , __FUNCTION__ );
771+ fprintf (stderr , "Error: %s(): starting the remote control library (wbr_start) failed. \n" , __FUNCTION__ );
772772 }
773773 robot .mode = WB_MODE_SIMULATION ;
774774}
@@ -1136,7 +1136,7 @@ static char *compute_socket_filename(char *error_buffer) {
11361136 if (username == NULL || username [0 ] == '\0' ) {
11371137 username = wbu_system_getenv ("USERNAME" );
11381138 if (username == NULL || username [0 ] == '\0' ) {
1139- fprintf (stderr , "Error: USER or USERNAME environment variable not set, falling back to 'default' username." );
1139+ fprintf (stderr , "Error: USER or USERNAME environment variable not set, falling back to 'default' username.\n " );
11401140 username = "default" ;
11411141 }
11421142 }
0 commit comments