diff options
Diffstat (limited to 'ext')
| -rw-r--r-- | ext/mbstring/oniguruma/regposerr.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/ext/mbstring/oniguruma/regposerr.c b/ext/mbstring/oniguruma/regposerr.c index ca09f2f4fe..38f8ed55a0 100644 --- a/ext/mbstring/oniguruma/regposerr.c +++ b/ext/mbstring/oniguruma/regposerr.c @@ -76,7 +76,7 @@ regerror(int posix_ecode, const regex_t* reg, char* buf, size_t size) s = ""; } else { - sprintf(tbuf, sizeof(tbuf), "undefined error code (%d)", posix_ecode); + sprintf(tbuf, "undefined error code (%d)", posix_ecode); s = tbuf; } |
