diff options
Diffstat (limited to 'strftime.c')
-rw-r--r-- | strftime.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/strftime.c b/strftime.c index c864076f10..dd2b21f977 100644 --- a/strftime.c +++ b/strftime.c @@ -826,7 +826,7 @@ rb_strftime_with_timespec(VALUE ftime, const char *format, size_t format_len, args[0] = INT2FIX(precision); args[1] = subsec; result = rb_str_format(2, args, - rb_fstring_cstr("%0*d")); + rb_fstring_lit("%0*d")); (void)strlcpy(s, StringValueCStr(result), endp-s); s += precision; } |