diff --git a/utilities/comp_err.cc b/utilities/comp_err.cc index afcccae2cf1..85061d7dd1f 100644 --- a/utilities/comp_err.cc +++ b/utilities/comp_err.cc @@ -552,7 +552,7 @@ static int parse_input_file(const char *file_name, struct errors **top_error, DBUG_RETURN(0); } if (!parse_message_string(¤t_message, str)) { - fprintf(stderr, "Failed to parse message string for error '%s'", + fprintf(stderr, "Failed to parse message string for error '%s'\n", current_error->er_name); DBUG_RETURN(0); } @@ -927,6 +927,7 @@ static struct message *parse_message_string(struct message *new_message, while (*str == ' ' || *str == '\t' || *str == '\n') str++; if (!*str) { + fprintf(stderr, "Unexpected empty line\n"); /* It was not a message line, but an empty line. */ DBUG_PRINT("info", ("str: %s", str)); DBUG_RETURN(0);