mirror of
https://github.com/ruby/ruby.git
synced 2022-11-09 12:17:21 -05:00
rb_debug_rstring_null_ptr: add newlines in the message [ci skip]
The message should end with a newline, and break the long paragraph.
This commit is contained in:
parent
f92f08ff23
commit
8f0e3a97f9
1 changed files with 2 additions and 2 deletions
4
string.c
4
string.c
|
|
@ -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);
|
||||
}
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue