Skip to content

Commit

Permalink
rb_debug_rstring_null_ptr: add newlines in the message [ci skip]
Browse files Browse the repository at this point in the history
The message should end with a newline, and break the long
paragraph.
  • Loading branch information
nobu committed Feb 21, 2022
1 parent f92f08f commit 8f0e3a9
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions string.c
Expand Up @@ -268,9 +268,9 @@ void
rb_debug_rstring_null_ptr(const char *func)
{
fprintf(stderr, "%s is returning NULL!! "
"SIGSEGV is highly expected to follow immediately. "
"SIGSEGV is highly expected to follow immediately.\n"
"If you could reproduce, attach your debugger here, "
"and look at the passed string.",
"and look at the passed string.\n",
func);
}

Expand Down

0 comments on commit 8f0e3a9

Please sign in to comment.