diff options
author | Nobuyoshi Nakada <nobu@ruby-lang.org> | 2020-08-17 22:29:51 +0900 |
---|---|---|
committer | Nobuyoshi Nakada <nobu@ruby-lang.org> | 2020-08-17 22:30:26 +0900 |
commit | 7b4b5e08409f1df2a99c00d40f4859b584cd1dd6 (patch) | |
tree | 60cb2a072ea76162e33b5a6312c4108f03df9a7d /ext | |
parent | 0a218a97ad31f06eb7f59ccdd428fd46c4b93982 (diff) |
Fixed the radix for control chars
Diffstat (limited to 'ext')
-rw-r--r-- | ext/objspace/objspace_dump.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/ext/objspace/objspace_dump.c b/ext/objspace/objspace_dump.c index 2659404556..81e490f06d 100644 --- a/ext/objspace/objspace_dump.c +++ b/ext/objspace/objspace_dump.c @@ -87,7 +87,7 @@ dump_append_string_value(struct dump_config *dc, VALUE obj) break; default: if (c <= 0x1f) - dump_append(dc, "\\u%04d", c); + dump_append(dc, "\\u%04x", c); else dump_append(dc, "%c", c); } |