diff options
| author | Yukihiro Matz Matsumoto <[email protected]> | 2012-11-14 14:42:36 +0900 |
|---|---|---|
| committer | Yukihiro Matz Matsumoto <[email protected]> | 2012-11-14 14:42:36 +0900 |
| commit | 73dda8cb41b0c1864db376dd986694de0e296293 (patch) | |
| tree | a914c88d070c75c66dce72f639d11745614b4da2 /src/sprintf.c | |
| parent | 3eeef306184f202c106d56a13022afc54dad98cb (diff) | |
| parent | 9849501686fee78dd58b27b1c6519707671d6484 (diff) | |
| download | mruby-73dda8cb41b0c1864db376dd986694de0e296293.tar.gz mruby-73dda8cb41b0c1864db376dd986694de0e296293.zip | |
Merge branch 'master' of github.com:mruby/mruby
Diffstat (limited to 'src/sprintf.c')
| -rw-r--r-- | src/sprintf.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/sprintf.c b/src/sprintf.c index 630875a88..0e8ac830f 100644 --- a/src/sprintf.c +++ b/src/sprintf.c @@ -671,7 +671,7 @@ retry: tmp = mrb_check_string_type(mrb, val); if (!mrb_nil_p(tmp)) { if (RSTRING_LEN(tmp) != 1 ) { - mrb_raise(mrb, E_ARGUMENT_ERROR, "%%c requires a character"); + mrb_raise(mrb, E_ARGUMENT_ERROR, "%c requires a character"); } c = RSTRING_PTR(tmp)[0]; n = 1; |
