Add newline when printing dlopen error message
This commit is contained in:
parent
82aee1a946
commit
5e3b8010ed
2
gc.c
2
gc.c
@ -685,7 +685,7 @@ ruby_external_gc_init(void)
|
|||||||
|
|
||||||
handle = dlopen(gc_so_path, RTLD_LAZY | RTLD_GLOBAL);
|
handle = dlopen(gc_so_path, RTLD_LAZY | RTLD_GLOBAL);
|
||||||
if (!handle) {
|
if (!handle) {
|
||||||
fprintf(stderr, "%s", dlerror());
|
fprintf(stderr, "%s\n", dlerror());
|
||||||
rb_bug("ruby_external_gc_init: Shared library %s cannot be opened", gc_so_path);
|
rb_bug("ruby_external_gc_init: Shared library %s cannot be opened", gc_so_path);
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
Loading…
x
Reference in New Issue
Block a user