aboutsummaryrefslogtreecommitdiffstats
path: root/error.c
diff options
context:
space:
mode:
Diffstat (limited to 'error.c')
-rw-r--r--error.c6
1 files changed, 2 insertions, 4 deletions
diff --git a/error.c b/error.c
index 4dd5a421b4..c6d7e6e107 100644
--- a/error.c
+++ b/error.c
@@ -29,8 +29,7 @@
#define EXIT_SUCCESS 0
#endif
-extern const char ruby_version[], ruby_release_date[], ruby_platform[];
-extern const int ruby_patchlevel;
+extern const char *ruby_description;
int ruby_nerrs;
@@ -209,8 +208,7 @@ rb_bug(fmt, va_alist)
va_init_list(args, fmt);
vfprintf(out, fmt, args);
va_end(args);
- fprintf(out, "\nruby %s (%s patchlevel %d) [%s]\n\n",
- ruby_version, ruby_release_date, ruby_patchlevel, ruby_platform);
+ fprintf(out, "\n%s\n\n", ruby_description);
}
abort();
}