Skip to main content
summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorEugene Tarassov2016-04-05 18:00:37 +0000
committerEugene Tarassov2016-04-05 18:00:37 +0000
commitd50874d17fe618f0a66a36c7794c00399d672242 (patch)
tree56c43687b2475e7212e9386366d74b84c61b9e1f
parentbd66cb15e9090fce272d1b2d83001a4b5940604f (diff)
downloadorg.eclipse.tcf.agent-d50874d17fe618f0a66a36c7794c00399d672242.tar.gz
org.eclipse.tcf.agent-d50874d17fe618f0a66a36c7794c00399d672242.tar.xz
org.eclipse.tcf.agent-d50874d17fe618f0a66a36c7794c00399d672242.zip
TCF Agent: fixed missing line feed when print fatal error message
-rw-r--r--agent/tcf/framework/errors.c6
1 files changed, 3 insertions, 3 deletions
diff --git a/agent/tcf/framework/errors.c b/agent/tcf/framework/errors.c
index 8c1ec2e9..c973e78b 100644
--- a/agent/tcf/framework/errors.c
+++ b/agent/tcf/framework/errors.c
@@ -651,9 +651,9 @@ void check_error_debug(const char * file, int line, int error) {
trace(LOG_ALWAYS, " Exiting agent...");
if (log_file == stderr) exit(1);
#endif
- fprintf(stderr, "Fatal error %d: %s", error, errno_to_str(error));
- fprintf(stderr, " At %s:%d", file, line);
- fprintf(stderr, " Exiting agent...");
+ fprintf(stderr, "Fatal error %d: %s\n", error, errno_to_str(error));
+ fprintf(stderr, " At %s:%d\n", file, line);
+ fprintf(stderr, " Exiting agent...\n");
exit(1);
}

Back to the top