Commit 667b586d authored by Arnaud Blanchard's avatar Arnaud Blanchard
Browse files

Remove unecessary line return in error messages

parent cafad9f3
......@@ -439,17 +439,17 @@ static void on_sigterm(int){
static void on_sigint(int){
if (blc_status==BLC_QUIT){
fprintf(stderr, "\n\n%s: receiving SIGINT (Ctrl+C) in quiting mode. Force to quit.\n\n\n", blc_program_name);
fprintf(stderr, "\n%s: receiving SIGINT (Ctrl+C) in quiting mode. Force to quit.\n", blc_program_name);
exit(EXIT_FAILURE);
}
else {
fprintf(stderr, "\n%s :receiving SIGINT (Ctrl+C). Try to quit. Resend SIGINT if it does not quit.\n\n", blc_program_name);
fprintf(stderr, "\n%s :receiving SIGINT (Ctrl+C). Try to quit. Resend SIGINT if it does not quit.\n", blc_program_name);
blc_status=BLC_QUIT;
}
}
static void on_sigsegv(int){
fprintf(stderr, "\n\n%s: segmentation fault ( memory access error ! )\n\n\n", blc_program_name);
fprintf(stderr, "\n%s: segmentation fault ( memory access error ! )\n", blc_program_name);
exit(EXIT_FAILURE);
}
......
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment